diff options
author | Pin-yen Lin <[email protected]> | 2022-10-13 19:04:08 +0800 |
---|---|---|
committer | Robert Foss <[email protected]> | 2022-10-24 10:08:47 +0200 |
commit | e577d4b13064c337b83fe7edecb3f34e87144821 (patch) | |
tree | a62f1dc817686600c3880027979f9b0ea77003b7 /drivers/misc/pci_endpoint_test.c | |
parent | 2556e1a83574f6248b70534c5d50e3ef9eaa4eb5 (diff) |
drm/bridge: it6505: Initialize AUX channel in it6505_i2c_probe
During device boot, the HPD interrupt could be triggered before the DRM
subsystem registers it6505 as a DRM bridge. In such cases, the driver
tries to access AUX channel and causes NULL pointer dereference.
Initializing the AUX channel earlier to prevent such error.
Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
Signed-off-by: Pin-yen Lin <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions