USB: s3c2410 gadget: ensure vbus pin in input mode during read
authorBen Dooks <ben-linux@fluff.org>
Mon, 19 Nov 2007 22:28:15 +0000 (22:28 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:58:36 +0000 (13:58 -0800)
commit5f629ad7e5f9b99c6d025bf199d402734bd72d0f
tree099257b25ef362f133f52739a9d3afc33793e6cd
parent8802bca4feed9e60d22a91cc5ccb1c4a1d8e3d71
USB: s3c2410 gadget: ensure vbus pin in input mode during read

Some CPUs in the S3C24XX series do not support readback of the
value of a pin when the pin has been configured to an IRQ.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c2410_udc.c