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 f6445b6 commit 1902a01Copy full SHA for 1902a01
drivers/usb/storage/realtek_cr.c
@@ -996,12 +996,15 @@ static int init_realtek_cr(struct us_data *us)
996
goto INIT_FAIL;
997
}
998
999
- if (CHECK_FW_VER(chip, 0x5888) || CHECK_FW_VER(chip, 0x5889) ||
1000
- CHECK_FW_VER(chip, 0x5901))
1001
- SET_AUTO_DELINK(chip);
1002
- if (STATUS_LEN(chip) == 16) {
1003
- if (SUPPORT_AUTO_DELINK(chip))
+ if (CHECK_PID(chip, 0x0138) || CHECK_PID(chip, 0x0158) ||
+ CHECK_PID(chip, 0x0159)) {
+ if (CHECK_FW_VER(chip, 0x5888) || CHECK_FW_VER(chip, 0x5889) ||
+ CHECK_FW_VER(chip, 0x5901))
1004
SET_AUTO_DELINK(chip);
+ if (STATUS_LEN(chip) == 16) {
1005
+ if (SUPPORT_AUTO_DELINK(chip))
1006
+ SET_AUTO_DELINK(chip);
1007
+ }
1008
1009
#ifdef CONFIG_REALTEK_AUTOPM
1010
if (ss_en)
0 commit comments