Hiremath, Vaibhav wrote: >> -----Original Message----- >> From: linux-media-owner@xxxxxxxxxxxxxxx [mailto:linux-media- >> owner@xxxxxxxxxxxxxxx] On Behalf Of Sakari Ailus >> Sent: Friday, March 25, 2011 8:43 PM >> To: linux-media@xxxxxxxxxxxxxxx >> Cc: laurent.pinchart@xxxxxxxxxxxxxxxx; david.cohen@xxxxxxxxx; >> hiroshi.doyu@xxxxxxxxx >> Subject: [PATCH 1/4] omap iommu: Check existence of arch_iommu >> >> Check that the arch_iommu has been installed before trying to use it. This >> will lead to kernel oops if the arch_iommu isn't there. >> >> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx> >> --- >> arch/arm/plat-omap/iommu.c | 3 +++ >> 1 files changed, 3 insertions(+), 0 deletions(-) >> >> diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c >> index b1107c0..f0fea0b 100644 >> --- a/arch/arm/plat-omap/iommu.c >> +++ b/arch/arm/plat-omap/iommu.c >> @@ -104,6 +104,9 @@ static int iommu_enable(struct iommu *obj) >> if (!obj) >> return -EINVAL; >> >> + if (!arch_iommu) >> + return -ENOENT; >> + > [Hiremath, Vaibhav] Similar patch has already been submitted and accepted in community, not sure which baseline you are using. Please refer to below commit - > Thanks, Vaibhav. I guess I need to update my tree and resend the set... Cheers, -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html