Input: elantech - add resolution query support for v4 hardware
authorJJ Ding <jj_ding@emc.com.tw>
Mon, 21 Nov 2011 06:26:56 +0000 (22:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Nov 2011 06:28:34 +0000 (22:28 -0800)
commit3d95fd6ad8d3cf582a70ed65660017114b6e4065
treeea37550960665321ba17bb0d7818b2c46e527a9d
parentb56b92a9a175faad4c182309a63f221219de9191
Input: elantech - add resolution query support for v4 hardware

It turns out that v4's firmware provides a command so we can query
the resolution. Let's use it.

Signed-off-by: JJ Ding <jj_ding@emc.com.tw>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c
drivers/input/mouse/elantech.h