Re: Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-12 Thread Shuah Khan
On 12/12/2016 01:03 AM, Sakari Ailus wrote: > Hi Shuah, > > On Fri, Dec 09, 2016 at 09:52:44AM -0700, Shuah Khan wrote: >> Hi Sakari, >> >> I am looking at omap3 isp_remove() closely and I think there are a few >> issues there that could cause problems during unbind. >> >> isp_remove() tries to do

Re: Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-12 Thread Mauro Carvalho Chehab
Em Mon, 12 Dec 2016 10:03:16 +0200 Sakari Ailus escreveu: > Hi Shuah, > > On Fri, Dec 09, 2016 at 09:52:44AM -0700, Shuah Khan wrote: > > Hi Sakari, > > > > I am looking at omap3 isp_remove() closely and I think there are a few > > issues there that could cause problems during unbind. > > > >

Re: Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-12 Thread Sakari Ailus
Hi Shuah, On Fri, Dec 09, 2016 at 09:52:44AM -0700, Shuah Khan wrote: > Hi Sakari, > > I am looking at omap3 isp_remove() closely and I think there are a few > issues there that could cause problems during unbind. > > isp_remove() tries to do media_entity_cleanup() after it unregisters > media_d

Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-09 Thread Shuah Khan
Hi Sakari, I am looking at omap3 isp_remove() closely and I think there are a few issues there that could cause problems during unbind. isp_remove() tries to do media_entity_cleanup() after it unregisters media_device isp_remove() calls isp_unregister_entities() followed by isp_cleanup_modules()