Jarvis: Prevent crash with invalid input device
authorDavid DSH <ddastoussthi@nvidia.com>
Sat, 21 Jan 2017 02:02:47 +0000 (18:02 -0800)
committerManish Tuteja <mtuteja@nvidia.com>
Fri, 3 Feb 2017 22:08:12 +0000 (14:08 -0800)
commit13bbc2c091df94df900e7593431797237e51b1c4
tree413363c360e58a365f67d8ad35cd512e13d5799a
parentca77be066987425f53cff26f2d2ebc76a5fe17e6
Jarvis: Prevent crash with invalid input device

Bug 1864174

Change-Id: I3c62d723bc15817c687a7c70567238825703bc19
Signed-off-by: David DSH <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/1291898
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
(cherry picked from commit 27d75519b396282a2f688ce14fdb6a0491068b65)
Reviewed-on: http://git-master/r/1298934
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
drivers/hid/hid-atv-jarvis.c