summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-picolcd_core.c
diff options
context:
space:
mode:
authorLouis Morhet <lmorhet@kalrayinc.com>2023-04-04 15:15:14 +0300
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-04-13 17:41:37 +0300
commite36c31f8cac54d6d900d270078d6b33de74e1b0a (patch)
tree99e3ff2f2b4992b022f3eacfd3f1a4182ca8296a /drivers/hid/hid-picolcd_core.c
parentde4664485abbc0529b1eec44d0061bbfe58a28fb (diff)
downloadlinux-e36c31f8cac54d6d900d270078d6b33de74e1b0a.tar.xz
HID: mcp2221: fix report layout for gpio get
The documentation of the component (section 3.1.12 GET GPIO VALUES) describes the hid report structure with two fields per gpio: its value, followed by its direction. However, the driver describes it with a wrong order: direction followed by value. Fix the structure representing the report answered by the chip to the GET GPIO VALUES command. Fixes commit 567b8e9fed8a ("HID: mcp2221: Fix GPIO output handling") Signed-off-by: Louis Morhet <lmorhet@kalrayinc.com> Link: https://lore.kernel.org/r/945967fbab56d53f9630ad3844b64734f8c3107e.1680602387.git.lmorhet@kalrayinc.com Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-picolcd_core.c')
0 files changed, 0 insertions, 0 deletions