summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/alps.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-07-25 22:49:14 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-26 14:03:19 -0700
commitc0cd17f6dc7342a81b61017e6b84e363f86081c6 (patch)
treeef23faa1be9c0d0835b784ecb52ffbd7b39da43d /drivers/input/mouse/alps.c
parent38c11eaaab0cf8ef6004aa704f1bb2ff5e6bc1b0 (diff)
downloadtalos-op-linux-c0cd17f6dc7342a81b61017e6b84e363f86081c6.tar.gz
talos-op-linux-c0cd17f6dc7342a81b61017e6b84e363f86081c6.zip
Input: alps - cache firmware version
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/alps.c')
-rw-r--r--drivers/input/mouse/alps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index 8f794913f4cd..31b963dbf9a9 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -1901,6 +1901,9 @@ static int alps_identify(struct psmouse *psmouse, struct alps_data *priv)
alps_exit_command_mode(psmouse))
return -EIO;
+ /* Save the Firmware version */
+ memcpy(priv->fw_ver, ec, 3);
+
if (alps_match_table(psmouse, priv, e7, ec) == 0) {
return 0;
} else if (e7[0] == 0x73 && e7[1] == 0x03 && e7[2] == 0x50 &&
OpenPOWER on IntegriCloud