]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ar1021_i2c - use BIT to check for a bit
authorMartin Kepplinger <martink@posteo.de>
Mon, 1 May 2017 17:13:47 +0000 (10:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 May 2017 19:30:00 +0000 (12:30 -0700)
commit1952fa013b32eb8f0aae46fa847a6706acc0d67c
treef9f4c54bec7e89928f90b22d64bde02f39d062ca
parent6ccbdcfacf1aa29292508fd946248c99a5238af1
Input: ar1021_i2c - use BIT to check for a bit

The MSB for the first byte of touch data transmission is always 1. Make
it a little more obvious we're testing this bit by using BIT(7).

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ar1021_i2c.c