From: Wolfram Sang Date: Tue, 5 Jul 2011 02:22:01 +0000 (-0700) Subject: Input: wm97xx - mark channels which need pen_down X-Git-Tag: v3.1-rc1~144^2^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77da38387e1c6f473744afccd83795805f506498;p=pandora-kernel.git 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 Acked-by: Mark Brown Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed