You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vc4-kms-v3d-overlay + HDMI -> OOps in rpi_touchscreen_dsi_probe #1948
@anholt I think there is a bug in rpi_touchscreen_dsi_probe - of_find_i2c_device_by_node (and hence rpi_touchscreen_get_i2c) can return NULL, which isn't caught by IS_ERR(tc->bridge_i2c), and leads to a NULL pointer dereference in i2c_smbus_read_byte_data via rpi_touchscreen_i2c_read.
On Fri, May 19, 2017 at 11:19 AM, James Hughes ***@***.***> wrote:
@schnitzeltony <https://github.com/schnitzeltony> Has the linked fix
fixed this issue? Please report any further issues or close please.
I was under the impression I had closed this issue - will check..
Activity
pelwell commentedon Apr 6, 2017
@anholt I think there is a bug in
rpi_touchscreen_dsi_probe-of_find_i2c_device_by_node(and hencerpi_touchscreen_get_i2c) can return NULL, which isn't caught byIS_ERR(tc->bridge_i2c), and leads to a NULL pointer dereference in i2c_smbus_read_byte_data via rpi_touchscreen_i2c_read.Avoid Oops in rpi_touchscreen_dsi_probe by checking for bridge_i2c==NULL
Avoid Oops in rpi_touchscreen_dsi_probe by checking for bridge_i2c = …
JamesH65 commentedon May 19, 2017
@schnitzeltony Has the linked fix fixed this issue? Please report any further issues or close please.
schnitzeltony commentedon May 19, 2017