[media] omap3isp: Defer probe when the IOMMU is not available
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 11 Mar 2013 15:02:13 +0000 (12:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Jun 2013 21:27:18 +0000 (18:27 -0300)
commit7c0f812a5d65e712618af880dda4a5cc7ed79463
tree44748368ba27c0b7caea071ea2628c132ed352ac
parent31036441d785359999e45bf410c778f64ffcab64
[media] omap3isp: Defer probe when the IOMMU is not available

When the OMAP3 ISP driver is compiled in the kernel the device can be
probed before the corresponding IOMMU is available. Defer the probe in
that case, and fix a crash in the error path.

Reported-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap3isp/isp.c