Input: silead - try firmware reload after unsuccessful resume
authorJulian Sax <jsbc@gmx.de>
Fri, 5 Oct 2018 18:48:31 +0000 (11:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:23:14 +0000 (08:23 +0100)
commit5611a2b8a713b52d7c4eeddf1844d22d1f863720
tree86c0ed7e37a68bc57f4b5ff1bdb29de9040255cf
parent5e40cfbeaf3b56cabc45be2f28c99a45788a64f1
Input: silead - try firmware reload after unsuccessful resume

[ Upstream commit dde27443211062e841806feaf690674b7c3a599f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/touchscreen/silead.c