commit | 70f5a294ad2eec3f896dafb83075cb8f04d65e92 | [log] [tgz] |
---|---|---|
author | Haibo Chen <haibo.chen@nxp.com> | Wed Nov 30 09:02:06 2016 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Nov 30 17:44:28 2016 -0800 |
tree | a010d1a1cef30903ebe2e06a5962ae995aa5fcf9 | |
parent | 6473bbfd7e85a9f834ed668b4daa31638c73ff53 [diff] |
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>