]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Input: elan_i2c - verify firmware signature applying it
authorDuson Lin <dusonlin@emc.com.tw>
Fri, 23 Jan 2015 17:35:07 +0000 (09:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Jan 2015 17:44:21 +0000 (09:44 -0800)
commitbb03bf3f8427a38112819061fc8688999ba02f67
tree13762fe3d8dd1cd8db48c26c3126ef32c50cceb6
parente719963c4a71a5aa687998e83ccdb905bfc7f13f
Input: elan_i2c - verify firmware signature applying it

To allow for different firmware sizes let's replace the original size check
with with checking the signature in the firmware data.

Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c.h
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/elan_i2c_i2c.c
drivers/input/mouse/elan_i2c_smbus.c