diff options
author | Jiri Kosina <jkosina@suse.cz> | 2022-12-13 16:37:43 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-12-13 16:37:43 +0300 |
commit | 54dcc80e7d7cf012f7e9f0801430890fe0ecc72a (patch) | |
tree | adca3a496e9dcf05396e5b67166bca70f66c177c /drivers/hid/i2c-hid | |
parent | 9a6f62b54a129e6970f09bc6827db17e2919d96e (diff) | |
parent | 9984fbf55b9bd998b4ff66395cbb118020c1effa (diff) | |
download | linux-54dcc80e7d7cf012f7e9f0801430890fe0ecc72a.tar.xz |
Merge branch 'for-6.2/rmi' into for-linus
- wakeup event handling fix for RMI driver (Dmitry Torokhov)
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c index 0667b6022c3b..a9428b7f34a4 100644 --- a/drivers/hid/i2c-hid/i2c-hid-core.c +++ b/drivers/hid/i2c-hid/i2c-hid-core.c @@ -554,7 +554,8 @@ static void i2c_hid_get_input(struct i2c_hid *ihid) i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); if (test_bit(I2C_HID_STARTED, &ihid->flags)) { - pm_wakeup_event(&ihid->client->dev, 0); + if (ihid->hid->group != HID_GROUP_RMI) + pm_wakeup_event(&ihid->client->dev, 0); hid_input_report(ihid->hid, HID_INPUT_REPORT, ihid->inbuf + sizeof(__le16), |