]> git.baikalelectronics.ru Git - kernel.git/commit
input: misc: ixp4-beeper: switch to use gpiolib
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Sep 2013 10:53:03 +0000 (12:53 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Sep 2013 12:15:14 +0000 (14:15 +0200)
commitd755fb20d5c2b283cd06dd7a9691b2abb2b47944
treedb8d7fa11a76186b4a978cefe437d7b4bc6d447f
parent4dedf3ab3ed4783ae2e9cab5fe59e60a7f72d814
input: misc: ixp4-beeper: switch to use gpiolib

The platform using this beeper has support for gpiolib, so there
is no point to use the custom gpio_line* API. A strange ambiguity
where a line was first set as input and then driven high was
solved by first driving the line high as output and then switch
it to input.

Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/input/misc/ixp4xx-beeper.c