Skip to content
Commit 57c80e8e authored by Karsten Merker's avatar Karsten Merker Committed by Dmitry Torokhov
Browse files

Input: goodix - use "inverted_[xy]" flags instead of "rotated_screen"



The goodix touchscreen driver uses a "rotated_screen" flag for
systems on which the touchscreen is mounted rotated by 180
degrees with respect to the display.  With the addition of
support for the dt properties "touchscreen-inverted-x" and
"touchscreen-inverted-y", a separate "rotated_screen" flag
is not necessary anymore. This patch replaces it by setting
the inverted_x and inverted_y flags instead.

Signed-off-by: default avatarKarsten Merker <merker@debian.org>
Reviewed-by: default avatarIrina Tirdea <irina.tirdea@intel.com>
Tested-by: default avatarBastien Nocera <hadess@hadess.net>
Acked-by: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ad48cf5e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment