]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: himax_hx83112b - fix incorrect size when reading product ID
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Aug 2024 00:04:42 +0000 (17:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 20 Aug 2024 00:29:14 +0000 (17:29 -0700)
commit4e870e6bbec5c41c0d8b253282dca9465fbf5044
tree5f4ba5f316b5d3eab1351d329eb9c39cfdff2de2
parentaaa4ca873d3da768896ffc909795359a01e853ef
Input: himax_hx83112b - fix incorrect size when reading product ID

We need to read a u32 value (4 bytes), not size of a pointer to that
value.

Also, himax_read_mcu() wrapper is an overkill, remove it and use
himax_bus_read() directly.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408200301.Ujpj7Vov-lkp@intel.com/
Fixes: 0944829d491e ("Input: himax_hx83112b - implement MCU register reading")
Tested-by: Felix Kaechele <felix@kaechele.ca>
Link: https://lore.kernel.org/r/ZsPdmtfC54R7JVxR@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/himax_hx83112b.c