Re: [PATCH v2 1/3] drm/bridge: it6505: Initialize AUX channel in it6505_i2c_probe

2022-10-24 Thread Robert Foss
On Thu, 13 Oct 2022 at 13:04, Pin-yen Lin wrote: > > 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

[PATCH v2 1/3] drm/bridge: it6505: Initialize AUX channel in it6505_i2c_probe

2022-10-13 Thread Pin-yen Lin
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