summaryrefslogtreecommitdiff
path: root/drivers/mfd/twl-core.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 22:21:50 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 22:34:46 +0400
commitc23bb602af24a635d0894aa7091e184385bf8a9f (patch)
treedb50ee79409e361bcaaaeb5efb884d49beedf94e /drivers/mfd/twl-core.h
parent2e95e51e184bd107380881502ea0f483c4500706 (diff)
downloadlinux-c23bb602af24a635d0894aa7091e184385bf8a9f.tar.xz
MFD: ucb1x00-core: fix gpiolib direction_output handling
gpiolib drivers should first set the output data before setting the direction to avoid putting glitches on an output signal. As an additional bonus, we tweak the code to avoid unnecessary register writes to the output and direction registers if they have no need to be updated. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mfd/twl-core.h')
0 files changed, 0 insertions, 0 deletions