]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
add missing otg_put_transceiver() call
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 1 Dec 2008 21:17:25 +0000 (13:17 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Dec 2008 19:10:30 +0000 (11:10 -0800)
commit7663f9405bd938910c95243a2fe3df4c4c75ddea
tree47076d5881dcc2f076f4926adbd4b57fe21b43aa
parentf4326414cc8f5b403567c15d79f5a23ffd8910ba
add missing otg_put_transceiver() call

As Russell King points out, calling put_device(otg_transceiver->dev)
directly in driver cleanup paths makes assumptions about otg_transceiver
internals.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/usb.c
drivers/usb/gadget/omap_udc.c
include/linux/usb/otg.h