]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyapa - fix endianness issues in gen5 firmware update support
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 Jan 2015 23:59:31 +0000 (15:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 22 Jan 2015 15:57:36 +0000 (07:57 -0800)
commit0d9f271689fa7f4fdee762c4f1a123e36eb1d446
tree74a8a259dd3b88b40c3a64ff79c0c23b8a0ffac8
parentd08d287fc5c9c9c63515b08e87510f4be584b48f
Input: cyapa - fix endianness issues in gen5 firmware update support

gen5_bl_metadata_row_params structure has its fields specified with
explicit endianness, so we should not be trying to convert to native CPU
endianness when filling the structure.

Also fix firmware validation checks and misspelled field in
gen5_bl_metadata_row_params.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Dudley Du <dudl@cypress.com>
Tested-by: Dudley Du <dudl@cypress.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa_gen5.c