Re: [Freedreno] [PATCH 1/3] drm/msm: dsi: Initialize msm_dsi->id to -1

2018-07-30 Thread abhinavk
On 2018-07-30 08:26, Sean Paul wrote: Currently msm_dsi->id is initialized to 0 during kzalloc. If bind fails for a secondary dsi device before its id can be properly set (such as during dt parsing), the id will point to the primary dsi device, causing its reference to be removed from

[Freedreno] [PATCH 1/3] drm/msm: dsi: Initialize msm_dsi->id to -1

2018-07-30 Thread Sean Paul
Currently msm_dsi->id is initialized to 0 during kzalloc. If bind fails for a secondary dsi device before its id can be properly set (such as during dt parsing), the id will point to the primary dsi device, causing its reference to be removed from dsi_manager's global (msm_dsim_glb) array. This