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: NZubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by: NLee Jones <lee.jones@linaro.org>
Showing
想要评论请 注册 或 登录