]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gpiolib: wm8994: Pay attention to the value set when enabling as output
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 9 Jun 2012 03:07:56 +0000 (11:07 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Jul 2012 12:49:10 +0000 (14:49 +0200)
commit8cd578b6e28693f357867a77598a88ef3deb6b39
tree7e88d5bdfe421e281f5ff9997e80396381c72fcb
parentafcc0f8c174ff34305146878c40e7dcc72fcbbdf
gpiolib: wm8994: Pay attention to the value set when enabling as output

Not paying attention to the value being set is a bad thing because it
means that we'll not set the hardware up to reflect what was requested.
Not setting the hardware up to reflect what was requested means that the
caller won't get the results they wanted.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-wm8994.c