Skip to content

Commit

Permalink
Staging: rts5208: fix CHANGE_LINK_STATE value
Browse files Browse the repository at this point in the history
Fix CHANGE_LINK_STATE value when card_exist is true.

Fixes: a9b693c ("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>
  • Loading branch information
Fabio Falzoi authored and Greg Kroah-Hartman committed Jun 19, 2015
1 parent 6bdee8b commit 6c6f95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rts5208/rtsx_chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6c6f95a

Please sign in to comment.