diff options
author | Hans de Goede | 2020-03-24 11:34:11 -0700 |
---|---|---|
committer | Dmitry Torokhov | 2020-03-24 15:07:58 -0700 |
commit | 273ec6bd9af56feabdc72405fa546ef92dc50bc9 (patch) | |
tree | ba06022d672ade779e73063ea941a9d1a114c913 /include/scsi/scsi.h | |
parent | 1a67448f1563c7fc5d3e19e6897e04a7b5424bf2 (diff) |
Input: goodix - restore config on resume if necessary
Some devices, e.g the Trekstor Primetab S11B, lose there config over
a suspend/resume cycle (likely the controller loses power during suspend).
This commit reads back the config version on resume and if matches the
expected config version it resets the controller and resends the config
we read back and saved at probe time.
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-11-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions