summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-3.10/0048-Changed-wording-on-logging.-Previously-we-received-e.patch
blob: 5d99f8be8d0bf4078bd287c1289cc4b538ea9a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 2d37b2d242b41270a7ae1aeccfe06fc253e8d180 Mon Sep 17 00:00:00 2001
From: Technion <Technion>
Date: Mon, 11 Feb 2013 22:08:53 +1100
Subject: [PATCH 048/174] Changed wording on logging. Previously, we received
 errors like this: mmc0: could read SD Status register (SSR) at the 3th
 attempt A more sensible response is now returned. A typo also fixed in
 comments.

---
 drivers/mmc/core/sd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/mmc/core/sd.c
+++ b/drivers/mmc/core/sd.c
@@ -238,7 +238,7 @@ static int mmc_read_scr(struct mmc_card
 
 		err = mmc_app_send_scr(card, card->raw_scr);
 		if( !err )
-			break; // sucess!!!
+			break; // success!!!
 
 		touch_nmi_watchdog();	  // we are still alive!
 
@@ -320,7 +320,7 @@ static int mmc_read_ssr(struct mmc_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++)