Re: [PATCH] drm: omapdrm: displays: panel-dsi-cm: Fix field access before set

2018-03-02 Thread Tomi Valkeinen
On 01/03/18 22:02, Laurent Pinchart wrote: > The driver accesses the ddata->in field before it gets set in the > dsicm_connect() function. Use the local in pointer variable instead. > > Fixes: 7877632b4cd0 ("drm: omapdrm: displays: Get panel source at connect > time") > Signed-off-by: Laurent Pin

[PATCH] drm: omapdrm: displays: panel-dsi-cm: Fix field access before set

2018-03-01 Thread Laurent Pinchart
The driver accesses the ddata->in field before it gets set in the dsicm_connect() function. Use the local in pointer variable instead. Fixes: 7877632b4cd0 ("drm: omapdrm: displays: Get panel source at connect time") Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/displays/panel-dsi-c