]> git.baikalelectronics.ru Git - kernel.git/commit
usb: s3c2410_udc: correct reversed pullup logic
authorSergiy Kibrik <sakib@meta.ua>
Sat, 16 May 2015 13:55:03 +0000 (16:55 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:15:02 +0000 (10:15 -0500)
commit0644e4c332a7e3adc96b8d69691c422d63bc074e
tree028f60f5f2f02b3551db20c545f9944ba31b87d4
parent66f6614fd2fc1f2fffd28d763a472c38cc7e2287
usb: s3c2410_udc: correct reversed pullup logic

For some reason the code has always been disabling pullup
when asked to do the opposite. According to surrounding code
and gadget API this seems to be a mistake. This fix allows
UDC to be detected by host controller on recent kernels.

Signed-off-by: Sergiy Kibrik <sakib@meta.ua>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/s3c2410_udc.c