aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-07-04 19:22:01 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-07-04 19:31:47 -0700
commit77da38387e1c6f473744afccd83795805f506498 (patch)
tree7f64688e3a44b75aaf418d000444409cacac863b /drivers/i2c/algos/i2c-algo-bit.c
parentInput: wm97xx - refactor channel selection in poll_sample() (diff)
downloadwireguard-linux-77da38387e1c6f473744afccd83795805f506498.tar.xz
wireguard-linux-77da38387e1c6f473744afccd83795805f506498.zip
Input: wm97xx - mark channels which need pen_down
Currently, battery drivers also use poll_sample() provided by the wm97xx-core but this code always checks if the pen is down. Mark the channels which really need this (i.e. for the touchscreen) with the PEN_DOWN bit, and skip the checks otherwise. Now, the battery channels can always be read. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions