Skip to content

Commit

Permalink
Changed wording on logging. Previously, we received errors like this:
Browse files Browse the repository at this point in the history
mmc0: could read SD Status register (SSR) at the 3th attempt
A more sensible response is now returned.
A typo also fixed in comments.
  • Loading branch information
Technion authored and pi committed Feb 11, 2013
1 parent e3f09be commit b830b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/core/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static int mmc_read_scr(struct mmc_card *card)

err = mmc_app_send_scr(card, card->raw_scr);
if( !err )
break; // sucess!!!
break; // success!!!

touch_nmi_watchdog(); // we are still alive!

Expand Down Expand Up @@ -320,7 +320,7 @@ static int mmc_read_ssr(struct mmc_card *card)

if( tries > 1 )
{
pr_info("%s: could read SD Status register (SSR) at the %dth attempt\n", mmc_hostname(card->host), tries );
pr_info("%s: read SD Status register (SSR) after %d attempts\n", mmc_hostname(card->host), tries );
}

for (i = 0; i < 16; i++)
Expand Down

0 comments on commit b830b1a

Please sign in to comment.