linux/drivers/usb/otg
Ming Lei 20831ad239 usb: otg: nop: fix oops triggered by otg_register_notifier
This patch adds BLOCKING_INIT_NOTIFIER_HEAD in nop_usb_xceiv_probe,
so that we can avoid oops caused by uninitialized
nop->otg.notifier.rwsem which will be touched in otg_register_notifier
path.

Reported-by: Gupta, Ajay Kumar <ajay.gupta@ti.com>
Tested-by: Gupta, Ajay Kumar <ajay.gupta@ti.com>
Cc: Balbi, Felipe <balbi@ti.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-22 18:32:55 -08:00
..
ab8500-usb.c usb: add ab8500 usb transceiver driver 2010-12-10 14:27:33 -08:00
gpio_vbus.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isp1301_omap.c usb: don't use flush_scheduled_work() 2010-12-24 16:14:20 +01:00
Kconfig Merge branch 'musb-hw' of git://gitorious.org/usb/usb into musb 2010-12-15 09:29:38 -08:00
langwell_otg.c USB: OTG: langwell_otg: fix up some sysfs attribute permissions 2010-11-15 14:04:15 -08:00
Makefile Merge branch 'musb-hw' of git://gitorious.org/usb/usb into musb 2010-12-15 09:29:38 -08:00
msm72k_otg.c USB: OTG: msm: Add support for power management 2010-12-10 14:23:32 -08:00
nop-usb-xceiv.c usb: otg: nop: fix oops triggered by otg_register_notifier 2011-01-22 18:32:55 -08:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c usb: otg: twl4030-usb: Fix unbalanced regulator disables at module removal 2010-11-30 16:46:33 -08:00
twl6030-usb.c usb: otg: Adding twl6030-usb transceiver driver for OMAP4430 2010-12-10 14:43:51 +02:00
ulpi.c usb: otg: Make USB3319 ULPI ID generic 2011-01-22 18:32:53 -08:00