Input: synaptics-rmi4 - fix enum_fmt
authorPhilipp Zabel <p.zabel@pengutronix.de>
Sat, 27 Apr 2019 00:31:43 +0000 (17:31 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 27 Apr 2019 00:35:08 +0000 (17:35 -0700)
commit9a952206904de36cd11f3ca50b2fad01d789e25e
tree8b51835bf56e0446dfeaef777f5ce0c7cb5284a3
parent9f6da5d42d1ecf7fcc042058a453fe65864fadb0
Input: synaptics-rmi4 - fix enum_fmt

Do not enumerate all formats, some of which the device may not even
support. Instead, only report the one fixed format of the currently
selected input that will survive try_fmt/s_fmt.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f54.c