Re: [PATCH] input: touchscreen: imx6ul_tsc: add mask when set REG_ADC_CFG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/11/2016 10:42, Haibo Chen wrote:
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@xxxxxxx>
---
  drivers/input/touchscreen/imx6ul_tsc.c | 11 ++++++++++-
  1 file changed, 10 insertions(+), 1 deletion(-)
Reviewed-by: Guy Shapiro <guy.shapiro@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux