summaryrefslogtreecommitdiff
path: root/drivers/hwmon/menf21bmc_hwmon.c
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@nxp.com>2016-11-30 20:02:06 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-12-01 04:44:28 +0300
commit70f5a294ad2eec3f896dafb83075cb8f04d65e92 (patch)
treea010d1a1cef30903ebe2e06a5962ae995aa5fcf9 /drivers/hwmon/menf21bmc_hwmon.c
parent6473bbfd7e85a9f834ed668b4daa31638c73ff53 (diff)
downloadlinux-70f5a294ad2eec3f896dafb83075cb8f04d65e92.tar.xz
Input: imx6ul_tsc - add mask when set REG_ADC_CFG
Add mask of each function bits of REG_ADC_CFG, and clear these function bits first, otherwise use '|=' operation may get the wrong setting which depends on the original value of REG_ADC_CFG. Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Reviewed-by: Guy Shapiro <guy.shapiro@mobi-wize.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hwmon/menf21bmc_hwmon.c')
0 files changed, 0 insertions, 0 deletions