Skip to content
Commit c23bb602 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2e95e51e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment