]> Pileus Git - ~andy/linux/commit
mfd: ti_am335x_tscadc: Update reg_cache variable in clr function
authorZubair Lutfullah <zubair.lutfullah@gmail.com>
Tue, 13 Aug 2013 16:40:56 +0000 (17:40 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Aug 2013 17:55:40 +0000 (18:55 +0100)
commit5d945d94a15435d2a3a3b99e538fc8fc7558afc5
tree3ea97c7182c86db80f6ed6f74b7351469d08122f
parentb018e1361bad361b47294fd09ae1f33f707dd933
mfd: ti_am335x_tscadc: Update reg_cache variable in clr function

The reg_cache variable should be updated with current
steps in the reg_se register. Then the mask should
apply and clear the register. Previously, the reg_cache
can be an old redundant value that isn't updated.

Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c