aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_probe_helper.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-05-16 15:43:38 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2022-05-17 20:23:28 +0200
commitd50f74790bbba662d1438dbc03be6616c52c0722 (patch)
tree42b7f74d352372702185ffe6756224e802acb353 /include/drm/drm_probe_helper.h
parentdrm/mgag200: Acquire I/O lock while reading EDID (diff)
downloadlinux-dev-d50f74790bbba662d1438dbc03be6616c52c0722.tar.xz
linux-dev-d50f74790bbba662d1438dbc03be6616c52c0722.zip
drm/mgag200: Fail on I2C initialization errors
Initialization of the I2C adapter was allowed to fail. The mgag200 driver would have continued without DDC support. Had this happened in practice, it would have led to segmentation faults in the connector code. Resolve this problem by failing driver initialization on I2C- related errors. v2: * initialize 'ret' before drm_err() (kernel test robot) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Tested-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220516134343.6085-3-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_probe_helper.h')
0 files changed, 0 insertions, 0 deletions