[PATCH] drm/panel: simple: Assign data from panel_dpi_probe() correctly

Marek Vasut marex at denx.de
Sun Feb 6 09:59:12 UTC 2022


On 2/4/22 22:26, Sam Ravnborg wrote:
> On Tue, Feb 01, 2022 at 12:01:53PM +0100, Christoph Niedermaier wrote:
>> In the function panel_simple_probe() the pointer panel->desc is
>> assigned to the passed pointer desc. If function panel_dpi_probe()
>> is called panel->desc will be updated, but further on only desc
>> will be evaluated. So update the desc pointer to be able to use
>> the data from the function panel_dpi_probe().
>>
>> Fixes: 4a1d0dbc8332 ("drm/panel: simple: add panel-dpi support")
>>
>> Signed-off-by: Christoph Niedermaier <cniedermaier at dh-electronics.com>
>> Cc: Marek Vasut <marex at denx.de>
>> Cc: Thierry Reding <thierry.reding at gmail.com>
>> Cc: Sam Ravnborg <sam at ravnborg.org>
>> Cc: David Airlie <airlied at linux.ie>
>> Cc: Daniel Vetter <daniel at ffwll.ch>
>> To: dri-devel at lists.freedesktop.org
> 
> Thanks for fixing this
> Reviewed-by: Sam Ravnborg <sam at ravnborg.org>

Applied to drm-misc/drm-misc-fixes , thanks.


More information about the dri-devel mailing list