Commit 19a0b6d7 authored by Jiri Kosina's avatar Jiri Kosina

Merge branch 'for-5.11/i2c-hid' into for-linus

- error reporting fix from Coiby Xu
parents e77bc7dc afdd34c5
...@@ -1106,8 +1106,11 @@ static int i2c_hid_probe(struct i2c_client *client, ...@@ -1106,8 +1106,11 @@ static int i2c_hid_probe(struct i2c_client *client,
} }
ret = i2c_hid_fetch_hid_descriptor(ihid); ret = i2c_hid_fetch_hid_descriptor(ihid);
if (ret < 0) if (ret < 0) {
dev_err(&client->dev,
"Failed to fetch the HID Descriptor\n");
goto err_regulator; goto err_regulator;
}
ret = i2c_hid_init_irq(client); ret = i2c_hid_init_irq(client);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment