mirror of https://gitee.com/openkylin/linux.git
Staging: rts5208: fix CHANGE_LINK_STATE value
Fix CHANGE_LINK_STATE value when card_exist is true.
Fixes: a9b693cd77
("Staging: rts5208: helper function to manage delink states")
Signed-off-by: Fabio Falzoi <fabio.falzoi84@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6bdee8bddd
commit
6c6f95a935
|
@ -1337,7 +1337,7 @@ static void rtsx_delink_stage1(struct rtsx_chip *chip, int enter_L1,
|
||||||
rtsx_write_register(chip, HOST_SLEEP_STATE, 0x03, 1);
|
rtsx_write_register(chip, HOST_SLEEP_STATE, 0x03, 1);
|
||||||
|
|
||||||
if (chip->card_exist)
|
if (chip->card_exist)
|
||||||
val = 0x03;
|
val = 0x02;
|
||||||
else
|
else
|
||||||
val = 0x0A;
|
val = 0x0A;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue