Input: silead - try firmware reload after unsuccessful resume
authorJulian Sax <jsbc@gmx.de>
Fri, 5 Oct 2018 18:48:31 +0000 (11:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 5 Oct 2018 18:52:06 +0000 (11:52 -0700)
commitdde27443211062e841806feaf690674b7c3a599f
tree5d4bd9748d07e43c9416dc07c7dcaee0d39c8632
parent20bbb312079494a406c10c90932e3c80837c9d94
Input: silead - try firmware reload after unsuccessful resume

A certain silead controller (Chip ID: 0x56810000) loses its firmware
after suspend, causing the resume to fail. This patch tries to load
the firmware, should a resume error occur and retries the resuming.

Signed-off-by: Julian Sax <jsbc@gmx.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/silead.c