[PATCH] omap: mailbox: unregister correct mbox device for omap2420

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



label err_iva1 is defined to unregister the mbox device
for omap2420 which is contained in mbox_iva_info struct

mbox_dsp_info is not being used by the omap2420

Signed-off-by: Leed Aguilar <leed.aguilar@xxxxxx>
---
 arch/arm/mach-omap2/mailbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Index: omap/arch/arm/mach-omap2/mailbox.c
===================================================================
--- omap.orig/arch/arm/mach-omap2/mailbox.c	2010-02-22 17:41:24.000000000 -0600
+++ omap/arch/arm/mach-omap2/mailbox.c	2010-02-22 17:51:31.000000000 -0600
@@ -420,7 +420,7 @@
 	return 0;
 
 err_iva1:
-	omap_mbox_unregister(&mbox_dsp_info);
+	omap_mbox_unregister(&mbox_iva_info);
 
 err_dsp:
 	iounmap(mbox_base);
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux