]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec_ishtp: fix crash during suspend
authorHyungwoo Yang <hyungwoo.yang@intel.com>
Thu, 30 May 2019 04:03:54 +0000 (21:03 -0700)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 29 Jul 2019 11:18:45 +0000 (13:18 +0200)
commit81024d9a16613a03269c7d85257d0f87214df227
tree301e3ff434d2dcbd5d5a88170f88c4607e28e724
parent8ae2f793d21f67d4ab95029bb6873efffa36907b
platform/chrome: cros_ec_ishtp: fix crash during suspend

Kernel crashes during suspend due to wrong conversion in
suspend and resume functions.

Use the proper helper to get ishtp_cl_device instance.

Cc: <stable@vger.kernel.org> # 5.2.x: db0bcde4: HID: intel-ish-hid: fix wrong driver_data usage
Signed-off-by: Hyungwoo Yang <hyungwoo.yang@intel.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/cros_ec_ishtp.c