aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ucb1x00-ts.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 13:21:50 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-21 13:34:46 -0500
commitc23bb602af24a635d0894aa7091e184385bf8a9f (patch)
treedb50ee79409e361bcaaaeb5efb884d49beedf94e /drivers/mfd/ucb1x00-ts.c
parent2e95e51e184bd107380881502ea0f483c4500706 (diff)
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/ucb1x00-ts.c')
0 files changed, 0 insertions, 0 deletions