[PATCH v2 2/6] drm: lcdif: Drop unnecessary NULL pointer check on lcdif->bridge

Marek Vasut marex at denx.de
Wed Jan 25 05:56:26 PST 2023


On 1/25/23 07:40, Liu Ying wrote:
> A valid bridge is already found in lcdif_attach_bridge() and set
> to lcdif->bridge, so lcdif->bridge cannot be a NULL pointer. Drop
> the unnecessary NULL pointer check in KMS stage.

Is it possible that a panel (instead of a bridge) be attached to LCDIFv3 
e.g. in case of iMXRT ?

> Signed-off-by: Liu Ying <victor.liu at nxp.com>
> ---
> v1->v2:
> * Split from patch 2/2 in v1. (Marek, Alexander)

Much appreciated, thanks.

[...]



More information about the linux-arm-kernel mailing list