]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: max3421-hcd: fix mask of IO control register
authorJaewon Kim <jaewon02.kim@gmail.com>
Thu, 21 Jul 2016 13:20:53 +0000 (22:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Aug 2016 14:14:18 +0000 (16:14 +0200)
commitd3fe3da3ffd24097a4527d4b0797e8ab04451442
treef16ec30969e1c3a961f836d56093790f47e9b35e
parent992b0860ab83bf1e1fc7a60ef6e3b45e91ef8176
usb: host: max3421-hcd: fix mask of IO control register

GPIO control register is divided into IOPINS1 and IOPINS2.
And low 4-bit of register is controls output.

So, this patch fixes wrong mask of GPIO output.

Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/max3421-hcd.c