OSDN Git Service

Input: goodix - save a copy of the config from goodix_read_config()
authorHans de Goede <hdegoede@redhat.com>
Tue, 24 Mar 2020 18:29:26 +0000 (11:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2020 22:07:54 +0000 (15:07 -0700)
commitde956caed952c7b07a5a7137037f735bd42050ca
treed81093c9b551679fff050ebb23cb0b8da4ac6d3e
parentaebfc52c09499eb3885aa352bb17b103109b73df
Input: goodix - save a copy of the config from goodix_read_config()

Save a copy of the config in goodix_read_config(), this is a preparation
patch for restoring the config if it was lost after a supend/resume cycle.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1786317
BugLink: https://github.com/nexus511/gpd-ubuntu-packages/issues/10
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199207
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200307121505.3707-8-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c