commit | a74022a55e44fe2044ac3660452cafecb300aece | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Mar 07 08:41:59 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Mar 07 12:23:22 2011 -0800 |
tree | ebff5a97a61c4e5762a042a515459469993ed7e1 | |
parent | 09173b589d547c002b6a2b560e150c4d7bb56c99 [diff] |
USB: s3c2410_udc: Add common implementation for GPIO controlled pullups Currently all boards using the s3c2410_udc driver use a GPIO to control the state of the pullup, as a result the same code is reimplemented in each board file. This patch adds support for using a GPIO to control the pullup state to the udc driver, so the boards can use a common implementation. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>