[PATCH v3 18/50] drm/omap: dss: Cleanup DSS ports on initialisation failure

Tomi Valkeinen tomi.valkeinen at ti.com
Tue Dec 17 07:49:23 UTC 2019


On 11/12/2019 00:57, Laurent Pinchart wrote:
> When the DSS initialises its output DPI and SDI ports, failures don't
> clean up previous successfully initialised ports. This can lead to
> resource leak or memory corruption. Fix it.
> 
> Reported-by: Hans Verkuil <hverkuil at xs4all.nl>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>   drivers/gpu/drm/omapdrm/dss/dss.c | 43 +++++++++++++++++++------------
>   1 file changed, 26 insertions(+), 17 deletions(-)

Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ti.com>

  Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the dri-devel mailing list