diff options
author | Romain Izard <romain.izard.pro@gmail.com> | 2018-05-11 13:19:54 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-05-15 10:24:44 +0300 |
commit | a3e20083bd7cdf6163923d9de2f4b62b2a0cbed4 (patch) | |
tree | 29f70cfc46e33312c79016105475bfc168411170 /drivers/extcon | |
parent | 1ca532e9916a277b0e87271e6b367a3774808035 (diff) | |
download | linux-a3e20083bd7cdf6163923d9de2f4b62b2a0cbed4.tar.xz |
usb: gadget: udc: atmel: GPIO inversion is handled by gpiod
When converting to GPIO descriptors, gpiod_get_value automatically
handles the line inversion flags from the device tree.
Do not invert the line twice.
Fixes: 3df034081021 ("usb: gadget: udc: atmel: convert to use GPIO descriptors")
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions