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:
Fabio Falzoi 2015-06-19 17:44:33 +02:00 committed by Greg Kroah-Hartman
parent 6bdee8bddd
commit 6c6f95a935
1 changed files with 1 additions and 1 deletions

View File

@ -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;