]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commitdiff
CHROMIUM: rts_pstor: fix formatting, writing, copying failures with
authoragnescheng <agnescheng@chromium.org>
Thu, 13 Dec 2012 08:44:05 +0000 (16:44 +0800)
committerGerrit <chrome-bot@google.com>
Sat, 15 Dec 2012 05:16:30 +0000 (21:16 -0800)
specific SDSDB cards.

Patch from Realtek to correct init option for specific SD cards -
Realtek found those cards cannot be successfully written (read is OK)
because current mount option causes writes(maybe to update the access time) when read.

TEST=insert SDSDB/SDSC card, format and cannot copy files to the card.

BUG=chrome-os-partner:15774

Signed-off-by: Agnes Cheng <agnescheng@chromium.org>
Change-Id: I194db3ce22107208e103dafc3fa9dae3db33d087
Reviewed-on: https://gerrit.chromium.org/gerrit/39646
Commit-Ready: Shawn Nematbakhsh <shawnn@chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-by: Derek Basehore <dbasehore@chromium.org>
drivers/staging/rts_pstor/rtsx.c

index 78e7eb7f9e6b5e4083ef100ea1e39b7345d94b82..f2e7b4829928be5eaaebcbfea4fb1db98008582f 100644 (file)
@@ -857,7 +857,7 @@ static void rtsx_init_options(struct rtsx_chip *chip)
 
        chip->card_drive_sel = 0x55;
        chip->sd30_drive_sel_1v8 = 0x03;
-       chip->sd30_drive_sel_3v3 = 0x01;
+       chip->sd30_drive_sel_3v3 = 0x02;
 
        chip->do_delink_before_power_down = 1;
        chip->auto_power_down = 1;