staging "rts_pstor" fix some typos while reading through rts_pstor
authorJustin P. Mattock <justinmattock@gmail.com>
Mon, 21 May 2012 14:56:57 +0000 (07:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:04:32 +0000 (21:04 -0700)
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts_pstor/ms.c
drivers/staging/rts_pstor/sd.c

index 0bf6d95b3fabcf95fc157cff061a07bb59c81e70..7cc2b53f20d031538271c0a95a33fc8f637b5260 100644 (file)
@@ -2488,7 +2488,7 @@ int reset_ms_card(struct rtsx_chip *chip)
 
        if (!CHK_MSPRO(ms_card)) {
                /* 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);
                if (retval != STATUS_SUCCESS) {
index aab690932eae7f1d4a33324e0e180c590ce02d53..b9474a8aefc0ecc659d0c081e54edbf8f027e4cc 100644 (file)
@@ -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]);
        } else {
                /* 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];
                RTSX_DEBUGP("Maximum current consumption: %dmA\n", cc);