aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Falzoi2015-06-19 17:44:33 +0200
committerGreg Kroah-Hartman2015-06-19 10:05:30 -0700
commit6c6f95a9351beb4f773f79c9b993df8ce63e71d4 (patch)
treecbc2b4a8d06d8801b1bf4f9c45fc7a5b202ef2b7
parent6bdee8bddde0ab76f458a9a05b8bcf80a7de3fb0 (diff)
Staging: rts5208: fix CHANGE_LINK_STATE value
Fix CHANGE_LINK_STATE value when card_exist is true. Fixes: a9b693cd77d7 ("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>
-rw-r--r--drivers/staging/rts5208/rtsx_chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx_chip.c b/drivers/staging/rts5208/rtsx_chip.c
index d6fb6cdf7d01..0df3b9d97134 100644
--- a/drivers/staging/rts5208/rtsx_chip.c
+++ b/drivers/staging/rts5208/rtsx_chip.c
@@ -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;