aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast/ast_i2c.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2021-12-06 09:11:23 +0000
committerThomas Zimmermann <[email protected]>2021-12-16 11:29:22 +0000
commit55dc449a7c60d3df5a8f0b71bbae9d5173c864f5 (patch)
tree0229059aff4fcbe2196f73cd9797f01c926b4059 /drivers/gpu/drm/ast/ast_i2c.c
parentdrm/vc4: plane: Add support for YUV color encodings and ranges (diff)
downloadkernel-55dc449a7c60d3df5a8f0b71bbae9d5173c864f5.tar.gz
kernel-55dc449a7c60d3df5a8f0b71bbae9d5173c864f5.zip
drm/ast: Handle failed I2C initialization gracefully
I2C initialization is allowed to fail. In this case, create a connector without DDC adapter. The current code would dereference a NULL pointer. Reading the modes from the connector is supposed to work without I2C adapter. Add the respective test. v2: * init edid to NULL to avoid uninitialized read (Dan) Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_i2c.c')
0 files changed, 0 insertions, 0 deletions