We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1f391 commit 5e25a8cCopy full SHA for 5e25a8c
drivers/hid/hid-playstation.c
@@ -1759,11 +1759,10 @@ static int dualshock4_get_calibration_data(struct dualshock4 *ds4)
1759
if (retries < 2) {
1760
hid_warn(hdev, "Retrying DualShock 4 get calibration report (0x02) request\n");
1761
continue;
1762
- } else {
1763
- ret = -EILSEQ;
1764
- goto err_free;
1765
}
+
1766
hid_err(hdev, "Failed to retrieve DualShock4 calibration info: %d\n", ret);
+ ret = -EILSEQ;
1767
goto err_free;
1768
} else {
1769
break;
0 commit comments