mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
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:
committed by
Greg Kroah-Hartman
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);
|
||||
|
||||
if (chip->card_exist)
|
||||
val = 0x03;
|
||||
val = 0x02;
|
||||
else
|
||||
val = 0x0A;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user