aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorRahul Bedarkar <rahulbedarkar89@gmail.com>2014-01-04 02:07:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-07 19:17:41 -0500
commit1076e7a4d91230eb277735ce297fe544c0202d30 (patch)
tree6b16429cb4a6f7c17249e93428e2137da7c4f3df /drivers/usb
parent025d44309f92bd5e3d1b2c7fab66836ab25b541b (diff)
USB: wusbcore: correct spelling mistakes in comments and error string
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/wusbcore/cbaf.c2
-rw-r--r--drivers/usb/wusbcore/crypto.c2
-rw-r--r--drivers/usb/wusbcore/devconnect.c4
-rw-r--r--drivers/usb/wusbcore/security.c2
-rw-r--r--drivers/usb/wusbcore/wa-hc.h10
-rw-r--r--drivers/usb/wusbcore/wa-rpipe.c2
-rw-r--r--drivers/usb/wusbcore/wusbhc.c2
7 files changed, 12 insertions, 12 deletions
diff --git a/drivers/usb/wusbcore/cbaf.c b/drivers/usb/wusbcore/cbaf.c
index 56310fc9b9c3..514dba191bba 100644
--- a/drivers/usb/wusbcore/cbaf.c
+++ b/drivers/usb/wusbcore/cbaf.c
@@ -184,7 +184,7 @@ static int cbaf_check(struct cbaf *cbaf)
184 assoc_request = itr; 184 assoc_request = itr;
185 185
186 if (top - itr < sizeof(*assoc_request)) { 186 if (top - itr < sizeof(*assoc_request)) {
187 dev_err(dev, "Not enough data to decode associaton " 187 dev_err(dev, "Not enough data to decode association "
188 "request (%zu vs %zu bytes needed)\n", 188 "request (%zu vs %zu bytes needed)\n",
189 top - itr, sizeof(*assoc_request)); 189 top - itr, sizeof(*assoc_request));
190 break; 190 break;
diff --git a/drivers/usb/wusbcore/crypto.c b/drivers/usb/wusbcore/crypto.c
index 7e4bf95f8f7b..9a95b2dc6d1b 100644
--- a/drivers/usb/wusbcore/crypto.c
+++ b/drivers/usb/wusbcore/crypto.c
@@ -87,7 +87,7 @@ struct aes_ccm_block {
87 * B1 contains l(a), the MAC header, the encryption offset and padding. 87 * B1 contains l(a), the MAC header, the encryption offset and padding.
88 * 88 *
89 * If EO is nonzero, additional blocks are built from payload bytes 89 * If EO is nonzero, additional blocks are built from payload bytes
90 * until EO is exahusted (FIXME: padding to 16 bytes, I guess). The 90 * until EO is exhausted (FIXME: padding to 16 bytes, I guess). The
91 * padding is not xmitted. 91 * padding is not xmitted.
92 */ 92 */
93 93
diff --git a/drivers/usb/wusbcore/devconnect.c b/drivers/usb/wusbcore/devconnect.c
index f14e7929ba22..3b959e83b28e 100644
--- a/drivers/usb/wusbcore/devconnect.c
+++ b/drivers/usb/wusbcore/devconnect.c
@@ -265,9 +265,9 @@ static void wusbhc_devconnect_acked_work(struct work_struct *work)
265 * Addresses: because WUSB hosts have no downstream hubs, we can do a 265 * Addresses: because WUSB hosts have no downstream hubs, we can do a
266 * 1:1 mapping between 'port number' and device 266 * 1:1 mapping between 'port number' and device
267 * address. This simplifies many things, as during this 267 * address. This simplifies many things, as during this
268 * initial connect phase the USB stack has no knoledge of 268 * initial connect phase the USB stack has no knowledge of
269 * the device and hasn't assigned an address yet--we know 269 * the device and hasn't assigned an address yet--we know
270 * USB's choose_address() will use the same euristics we 270 * USB's choose_address() will use the same heuristics we
271 * use here, so we can assume which address will be assigned. 271 * use here, so we can assume which address will be assigned.
272 * 272 *
273 * USB stack always assigns address 1 to the root hub, so 273 * USB stack always assigns address 1 to the root hub, so
diff --git a/drivers/usb/wusbcore/security.c b/drivers/usb/wusbcore/security.c
index 790c0b5c354c..c322dca5ee4b 100644
--- a/drivers/usb/wusbcore/security.c
+++ b/drivers/usb/wusbcore/security.c
@@ -56,7 +56,7 @@ void wusbhc_sec_destroy(struct wusbhc *wusbhc)
56 * @wusb_dev: the device whose PTK the TKID is for 56 * @wusb_dev: the device whose PTK the TKID is for
57 * (or NULL for a TKID for a GTK) 57 * (or NULL for a TKID for a GTK)
58 * 58 *
59 * The generated TKID consist of two parts: the device's authenicated 59 * The generated TKID consists of two parts: the device's authenticated
60 * address (or 0 or a GTK); and an incrementing number. This ensures 60 * address (or 0 or a GTK); and an incrementing number. This ensures
61 * that TKIDs cannot be shared between devices and by the time the 61 * that TKIDs cannot be shared between devices and by the time the
62 * incrementing number wraps around the older TKIDs will no longer be 62 * incrementing number wraps around the older TKIDs will no longer be
diff --git a/drivers/usb/wusbcore/wa-hc.h b/drivers/usb/wusbcore/wa-hc.h
index b93d2cbdf33f..529893f68e6d 100644
--- a/drivers/usb/wusbcore/wa-hc.h
+++ b/drivers/usb/wusbcore/wa-hc.h
@@ -36,7 +36,7 @@
36 * 36 *
37 * hcd glue with the USB API Host Controller Interface API. 37 * hcd glue with the USB API Host Controller Interface API.
38 * 38 *
39 * nep Notification EndPoint managent: collect notifications 39 * nep Notification EndPoint management: collect notifications
40 * and queue them with the workqueue daemon. 40 * and queue them with the workqueue daemon.
41 * 41 *
42 * Handle notifications as coming from the NEP. Sends them 42 * Handle notifications as coming from the NEP. Sends them
@@ -144,7 +144,7 @@ enum wa_quirks {
144 * 144 *
145 * @wa_descr Can be accessed without locking because it is in 145 * @wa_descr Can be accessed without locking because it is in
146 * the same area where the device descriptors were 146 * the same area where the device descriptors were
147 * read, so it is guaranteed to exist umodified while 147 * read, so it is guaranteed to exist unmodified while
148 * the device exists. 148 * the device exists.
149 * 149 *
150 * Endianess has been converted to CPU's. 150 * Endianess has been converted to CPU's.
@@ -167,8 +167,8 @@ enum wa_quirks {
167 * submitted from an atomic context). 167 * submitted from an atomic context).
168 * 168 *
169 * FIXME: this needs to be layered up: a wusbhc layer (for sharing 169 * FIXME: this needs to be layered up: a wusbhc layer (for sharing
170 * comonalities with WHCI), a wa layer (for sharing 170 * commonalities with WHCI), a wa layer (for sharing
171 * comonalities with DWA-RC). 171 * commonalities with DWA-RC).
172 */ 172 */
173struct wahc { 173struct wahc {
174 struct usb_device *usb_dev; 174 struct usb_device *usb_dev;
@@ -345,7 +345,7 @@ extern void wa_handle_notif_xfer(struct wahc *, struct wa_notif_hdr *);
345 * it...no RC specific function is called...unless I miss 345 * it...no RC specific function is called...unless I miss
346 * something. 346 * something.
347 * 347 *
348 * FIXME: has to go away in favour of an 'struct' hcd based sollution 348 * FIXME: has to go away in favour of a 'struct' hcd based solution
349 */ 349 */
350static inline struct wahc *wa_get(struct wahc *wa) 350static inline struct wahc *wa_get(struct wahc *wa)
351{ 351{
diff --git a/drivers/usb/wusbcore/wa-rpipe.c b/drivers/usb/wusbcore/wa-rpipe.c
index accdd15f5393..c601c74677d0 100644
--- a/drivers/usb/wusbcore/wa-rpipe.c
+++ b/drivers/usb/wusbcore/wa-rpipe.c
@@ -308,7 +308,7 @@ out:
308/* 308/*
309 * Aim an rpipe to its device & endpoint destination 309 * Aim an rpipe to its device & endpoint destination
310 * 310 *
311 * Make sure we change the address to unauthenticathed if the device 311 * Make sure we change the address to unauthenticated if the device
312 * is WUSB and it is not authenticated. 312 * is WUSB and it is not authenticated.
313 */ 313 */
314static int rpipe_aim(struct wa_rpipe *rpipe, struct wahc *wa, 314static int rpipe_aim(struct wa_rpipe *rpipe, struct wahc *wa,
diff --git a/drivers/usb/wusbcore/wusbhc.c b/drivers/usb/wusbcore/wusbhc.c
index 742c607d1fa3..4dd943a17fd4 100644
--- a/drivers/usb/wusbcore/wusbhc.c
+++ b/drivers/usb/wusbcore/wusbhc.c
@@ -419,7 +419,7 @@ EXPORT_SYMBOL_GPL(wusb_cluster_id_put);
419 * - After a successful transfer, update the trust timeout timestamp 419 * - After a successful transfer, update the trust timeout timestamp
420 * for the WUSB device. 420 * for the WUSB device.
421 * 421 *
422 * - [WUSB] sections 4.13 and 7.5.1 specifies the stop retrasmittion 422 * - [WUSB] sections 4.13 and 7.5.1 specify the stop retransmission
423 * condition for the WCONNECTACK_IE is that the host has observed 423 * condition for the WCONNECTACK_IE is that the host has observed
424 * the associated device responding to a control transfer. 424 * the associated device responding to a control transfer.
425 */ 425 */