brcm2708: update against latest rpi-3.10.y branch
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0048-Changed-wording-on-logging.-Previously-we-received-e.patch
1 From 2d37b2d242b41270a7ae1aeccfe06fc253e8d180 Mon Sep 17 00:00:00 2001
2 From: Technion <Technion>
3 Date: Mon, 11 Feb 2013 22:08:53 +1100
4 Subject: [PATCH 048/174] Changed wording on logging. Previously, we received
5  errors like this: mmc0: could read SD Status register (SSR) at the 3th
6  attempt A more sensible response is now returned. A typo also fixed in
7  comments.
8
9 ---
10  drivers/mmc/core/sd.c | 4 ++--
11  1 file changed, 2 insertions(+), 2 deletions(-)
12
13 --- a/drivers/mmc/core/sd.c
14 +++ b/drivers/mmc/core/sd.c
15 @@ -238,7 +238,7 @@ static int mmc_read_scr(struct mmc_card
16  
17                 err = mmc_app_send_scr(card, card->raw_scr);
18                 if( !err )
19 -                       break; // sucess!!!
20 +                       break; // success!!!
21  
22                 touch_nmi_watchdog();     // we are still alive!
23  
24 @@ -320,7 +320,7 @@ static int mmc_read_ssr(struct mmc_card
25  
26         if( tries > 1 )
27         {
28 -               pr_info("%s: could read SD Status register (SSR) at the %dth attempt\n", mmc_hostname(card->host), tries );
29 +               pr_info("%s: read SD Status register (SSR) after %d attempts\n", mmc_hostname(card->host), tries );
30         }
31  
32         for (i = 0; i < 16; i++)