Fix tahvo-usb omap_otg_remove
PATCH 1/1 Fix tahvo-usb omap_otg_remove
Tony,
Attached patch makes tahvo_otg_dev NULL after free_irq.
Signed-off-by Komal Shah <[email protected]>
---Komal Shah
http://komalshah.blogspot.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
drivers/cbus/tahvo-usb.c +2 -1
@@ -193,8 +193,9 @@ static int omap_otg_probe(struct devicestatic int omap_otg_remove (struct device *dev) { - tahvo_otg_dev =NULL ;free_irq (tahvo_otg_dev->resource[1 ].start, &tahvo_usb_device); + tahvo_otg_dev =NULL ; +return 0 ; }