Re: [PATCH] drm/msm/dsi: add protection against NULL dsi device

2019-05-30 Thread Jeffrey Hugo
On 3/7/2019 3:02 PM, Abhinav Kumar wrote: On 2019-03-07 13:59, Sean Paul wrote: On Wed, Mar 06, 2019 at 05:28:54PM -0800, Abhinav Kumar wrote: When panel probe happens after DSI probe, the DSI probe is deferred as per current design. In the probe defer path dsi device is destroyed. This NULL ds

Re: [PATCH] drm/msm/dsi: add protection against NULL dsi device

2019-05-29 Thread Abhinav Kumar
On 2019-05-29 13:43, Jeffrey Hugo wrote: On 3/7/2019 3:02 PM, Abhinav Kumar wrote: On 2019-03-07 13:59, Sean Paul wrote: On Wed, Mar 06, 2019 at 05:28:54PM -0800, Abhinav Kumar wrote: When panel probe happens after DSI probe, the DSI probe is deferred as per current design. In the probe defer

Re: [PATCH] drm/msm/dsi: add protection against NULL dsi device

2019-03-07 Thread Abhinav Kumar
On 2019-03-07 13:59, Sean Paul wrote: On Wed, Mar 06, 2019 at 05:28:54PM -0800, Abhinav Kumar wrote: When panel probe happens after DSI probe, the DSI probe is deferred as per current design. In the probe defer path dsi device is destroyed. This NULL dsi device could be deferenced by the panel p

Re: [PATCH] drm/msm/dsi: add protection against NULL dsi device

2019-03-07 Thread Sean Paul
On Wed, Mar 06, 2019 at 05:28:54PM -0800, Abhinav Kumar wrote: > When panel probe happens after DSI probe, the DSI probe > is deferred as per current design. In the probe defer path > dsi device is destroyed. This NULL dsi device could be > deferenced by the panel probe in the mipi_dsi_attach path.

[PATCH] drm/msm/dsi: add protection against NULL dsi device

2019-03-06 Thread Abhinav Kumar
When panel probe happens after DSI probe, the DSI probe is deferred as per current design. In the probe defer path dsi device is destroyed. This NULL dsi device could be deferenced by the panel probe in the mipi_dsi_attach path. Check for NULL dsi device before accessing it. Reported-by: Jeffrey