Skip to contentSkip to conversation

staging: "ehci-w90x900" Fix typos.

PATCH In review Justin P. Mattock 2 participants 3 messages Oct 23, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: "ehci-w90x900" Fix typos.

From: "Justin P. Mattock" <[email protected]>

---

The below patch fixes a typo in staging: "ehci-w90x900"

 drivers/usb/host/ehci-w90x900.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/ehci-w90x900.c +1 -1
index ec59808..a9c28a0 100644
@@ -13,7 +13,7 @@
 
 #include <linux/platform_device.h>
 
-/*ebable phy0 and phy1 for w90p910*/
+/*enable phy0 and phy1 for w90p910*/
 #define	ENPHY		(0x01<<8)
 #define PHY0_CTR	(0xA4)
 #define PHY1_CTR	(0xA8)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 staging: "winbond" Fix typos.

From: "Justin P. Mattock" <[email protected]>

---

The below patch fixes a typo in staging: "winbond"

 drivers/staging/winbond/mds.c   |    2 +-
 drivers/staging/winbond/wbhal.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/winbond/mds.c +1 -1
index 1b8b8ac..43990e8 100644
@@ -315,7 +315,7 @@ static void Mds_HeaderCopy(struct wbsoft_priv *adapter, struct wb35_descriptor *
 
 	pT00->T00_tx_packet_id = pDes->Descriptor_ID; /* Set packet ID */
 	pT00->T00_header_length = 24; /* Set header length */
-	pT01->T01_retry_abort_ebable = 1; /* 921013 931130.5.h */
+	pT01->T01_retry_abort_enable = 1; /* 921013 931130.5.h */
 
 	/* Key ID setup */
 	pT01->T01_wep_id = 0;
drivers/staging/winbond/wbhal.h +2 -2
index 39e84a0..289ee54 100644
@@ -226,11 +226,11 @@ struct T01_descriptor {
 			u32	T01_add_challenge_text:1;
 			u32	T01_inhibit_crc:1;
 			u32	T01_loop_back_wep_mode:1;
-			u32	T01_retry_abort_ebable:1;
+			u32	T01_retry_abort_enable:1;
 		};
 #else
 		struct {
-			u32	T01_retry_abort_ebable:1;
+			u32	T01_retry_abort_enable:1;
 			u32	T01_loop_back_wep_mode:1;
 			u32	T01_inhibit_crc:1;
 			u32	T01_add_challenge_text:1;
Signature · 1 line
1.7.10.4
maintainer
#2 lore raw
In reply to Justin P. Mattock
Quoted 7 lines · Justin P. Mattock

From: "Justin P. Mattock" <[email protected]>

---

The below patch fixes a typo in staging: "ehci-w90x900"

What does ehci-w90x900 have to do with staging?

drivers/usb/host/ehci-w90x900.c line 16

Quoted 13 lines
 drivers/usb/host/ehci-w90x900.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/ehci-w90x900.c +1 -1
index ec59808..a9c28a0 100644
@@ -13,7 +13,7 @@
 
 #include <linux/platform_device.h>
 
-/*ebable phy0 and phy1 for w90p910*/
+/*enable phy0 and phy1 for w90p910*/

Why bother to correct the spelling without also correcting the missing whitespace?

drivers/usb/host/ehci-w90x900.c line 19

Quoted 3 lines
drivers/usb/host/ehci-w90x900.c +0 -0
 #define	ENPHY		(0x01<<8)
 #define PHY0_CTR	(0xA4)
 #define PHY1_CTR	(0xA8)

Alan Stern