Commit 3fe192d8 authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Greg Kroah-Hartman

staging "rts_pstor" fix some typos while reading through rts_pstor

Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a7245ea
...@@ -2488,7 +2488,7 @@ int reset_ms_card(struct rtsx_chip *chip) ...@@ -2488,7 +2488,7 @@ int reset_ms_card(struct rtsx_chip *chip)
if (!CHK_MSPRO(ms_card)) { if (!CHK_MSPRO(ms_card)) {
/* Build table for the last segment, /* Build table for the last segment,
* to check if L2P talbe block exist,erasing it * to check if L2P table block exists, erasing it
*/ */
retval = ms_build_l2p_tbl(chip, ms_card->total_block / 512 - 1); retval = ms_build_l2p_tbl(chip, ms_card->total_block / 512 - 1);
if (retval != STATUS_SUCCESS) { if (retval != STATUS_SUCCESS) {
......
...@@ -1169,7 +1169,7 @@ static int sd_check_switch_mode(struct rtsx_chip *chip, u8 mode, ...@@ -1169,7 +1169,7 @@ static int sd_check_switch_mode(struct rtsx_chip *chip, u8 mode,
RTSX_DEBUGP("func_group4_mask = 0x%02x\n", buf[0x07]); RTSX_DEBUGP("func_group4_mask = 0x%02x\n", buf[0x07]);
} else { } else {
/* Maximum current consumption, check whether current is acceptable; /* Maximum current consumption, check whether current is acceptable;
* bit[511:496] = 0x0000 means some error happaned. * bit[511:496] = 0x0000 means some error happened.
*/ */
u16 cc = ((u16)buf[0] << 8) | buf[1]; u16 cc = ((u16)buf[0] << 8) | buf[1];
RTSX_DEBUGP("Maximum current consumption: %dmA\n", cc); RTSX_DEBUGP("Maximum current consumption: %dmA\n", cc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment