[PATCH 1/3] drm/ast: Handle failed I2C initialization gracefully

Maxime Ripard maxime at cerno.tech
Wed Dec 15 15:03:54 UTC 2021


On Wed, Dec 01, 2021 at 04:30:58PM +0100, Thomas Zimmermann wrote:
> 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.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>

Reviewed-by: Maxime Ripard <maxime at cerno.tech>

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211215/eee6523f/attachment.sig>


More information about the dri-devel mailing list