diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2016-11-30 20:02:06 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-12-01 04:44:28 +0300 |
commit | 70f5a294ad2eec3f896dafb83075cb8f04d65e92 (patch) | |
tree | a010d1a1cef30903ebe2e06a5962ae995aa5fcf9 /drivers/hwmon/menf21bmc_hwmon.c | |
parent | 6473bbfd7e85a9f834ed668b4daa31638c73ff53 (diff) | |
download | linux-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