Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b007c64d authored by he, bo's avatar he, bo Committed by Greg Kroah-Hartman
Browse files

io: accel: kxcjk1013: restore the range after resume.



commit fe2d3df639a7940a125a33d6460529b9689c5406 upstream.

On some laptops, kxcjk1013 is powered off when system enters S3. We need
restore the range regiter during resume. Otherwise, the sensor doesn't
work properly after S3.

Signed-off-by: default avatarhe, bo <bo.he@intel.com>
Signed-off-by: default avatarChen, Hu <hu1.chen@intel.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bbe0bed4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment