[PATCH 1/3] drm/omap: fix uninitialized ret variable

Tomi Valkeinen tomi.valkeinen at ti.com
Thu Mar 29 12:11:34 UTC 2018


On 29/03/18 13:58, Emil Velikov wrote:
> On 29 March 2018 at 11:40, Tomi Valkeinen <tomi.valkeinen at ti.com> wrote:
>> audio_config function for both HDMI4 and HDMI5 return uninitialized
>> value as the error code if the display is not currently enabled. For
>> some reason this has not caused any issues.
>>
> Doubt many people try hdmi audio with disabled display ;-)

I think it can happen if the display is connected but blanked.

> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Thanks for the review!

 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