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)
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>

No differences found