From: Mark Brown Date: Sat, 9 Jun 2012 03:07:56 +0000 (+0800) Subject: gpiolib: wm8994: Pay attention to the value set when enabling as output X-Git-Tag: v3.2.24~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43fc6bce37ff39ab5010afadf1ea86e7cc9c2b37;p=pandora-kernel.git gpiolib: wm8994: Pay attention to the value set when enabling as output commit 8cd578b6e28693f357867a77598a88ef3deb6b39 upstream. 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 Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed