Skip to content
Commit 70f5a294 authored by Haibo Chen's avatar Haibo Chen Committed by Dmitry Torokhov
Browse files

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: default avatarHaibo Chen <haibo.chen@nxp.com>
Reviewed-by: default avatarGuy Shapiro <guy.shapiro@mobi-wize.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 6473bbfd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment