[media] omap3isp: Prevent crash at module unload
authorSakari Ailus <sakari.ailus@iki.fi>
Fri, 27 Jan 2012 10:18:51 +0000 (07:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 16:50:51 +0000 (13:50 -0300)
iommu_domain_free() was called in isp_remove() before omap3isp_put().
omap3isp_put() must not save the context if the IOMMU no longer is there.
Fix this.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found