[PATCH v3 11/13] gpio/omap: fix dataout register overwrite in _set_gpio_dataout_*

Santosh Shilimkar santosh.shilimkar at ti.com
Wed Mar 7 07:04:34 EST 2012


On Wednesday 07 March 2012 12:16 PM, Tarun Kanti DebBarma wrote:
> In the existing _set_gpio_dataout_*() implementation, the dataout
> register is overwritten every time the function is called. This is
> not intended behavior because that would end up one user of a GPIO
> line overwriting what is written by another. Fix this so that previous
> value is always preserved until explicitly changed by respective
> user/driver of the GPIO line.
> 
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> ---
This can also go as fix.

Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>

Regards
Santosh



More information about the linux-arm-kernel mailing list