diff options
author | Mickael Maison <mickael.maison@gmail.com> | 2014-09-18 05:25:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 01:15:18 -0400 |
commit | a6cd244b921973e4ff38f238496cc094142bd444 (patch) | |
tree | 2598fb88a634e4c8cb4047fc2b543a0a794e752c /drivers | |
parent | 7adce46784a0992eb7276416798db6746ba8f667 (diff) |
usb: Fixed a few typos
Fixed typos in comments of various drivers/usb files
Signed-off-by: Mickael Maison <mickael.maison@gmail.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/core/hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb/musb_regs.h | 2 | ||||
-rw-r--r-- | drivers/usb/storage/realtek_cr.c | 4 | ||||
-rw-r--r-- | drivers/usb/storage/scsiglue.c | 2 | ||||
-rw-r--r-- | drivers/usb/storage/usb.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 487abcfcccd8..56a06612a5e2 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c | |||
@@ -1272,7 +1272,7 @@ EXPORT_SYMBOL_GPL(usb_hcd_unlink_urb_from_ep); | |||
1272 | * The usb core itself is however optimized for host controllers that can dma | 1272 | * The usb core itself is however optimized for host controllers that can dma |
1273 | * using regular system memory - like pci devices doing bus mastering. | 1273 | * using regular system memory - like pci devices doing bus mastering. |
1274 | * | 1274 | * |
1275 | * To support host controllers with limited dma capabilites we provide dma | 1275 | * To support host controllers with limited dma capabilities we provide dma |
1276 | * bounce buffers. This feature can be enabled using the HCD_LOCAL_MEM flag. | 1276 | * bounce buffers. This feature can be enabled using the HCD_LOCAL_MEM flag. |
1277 | * For this to work properly the host controller code must first use the | 1277 | * For this to work properly the host controller code must first use the |
1278 | * function dma_declare_coherent_memory() to point out which memory area | 1278 | * function dma_declare_coherent_memory() to point out which memory area |
diff --git a/drivers/usb/musb/musb_regs.h b/drivers/usb/musb/musb_regs.h index b9bcda5e3945..37122a480bc1 100644 --- a/drivers/usb/musb/musb_regs.h +++ b/drivers/usb/musb/musb_regs.h | |||
@@ -577,7 +577,7 @@ static inline u16 musb_read_hwvers(void __iomem *mbase) | |||
577 | { | 577 | { |
578 | /* | 578 | /* |
579 | * This register is invisible on Blackfin, actually the MUSB | 579 | * This register is invisible on Blackfin, actually the MUSB |
580 | * RTL version of Blackfin is 1.9, so just harcode its value. | 580 | * RTL version of Blackfin is 1.9, so just hardcode its value. |
581 | */ | 581 | */ |
582 | return MUSB_HWVERS_1900; | 582 | return MUSB_HWVERS_1900; |
583 | } | 583 | } |
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index 281be56d5648..8591d89a38e6 100644 --- a/drivers/usb/storage/realtek_cr.c +++ b/drivers/usb/storage/realtek_cr.c | |||
@@ -115,7 +115,7 @@ struct rts51x_chip { | |||
115 | enum RTS51X_STAT state; | 115 | enum RTS51X_STAT state; |
116 | int support_auto_delink; | 116 | int support_auto_delink; |
117 | #endif | 117 | #endif |
118 | /* used to back up the protocal choosen in probe1 phase */ | 118 | /* used to back up the protocol chosen in probe1 phase */ |
119 | proto_cmnd proto_handler_backup; | 119 | proto_cmnd proto_handler_backup; |
120 | }; | 120 | }; |
121 | 121 | ||
@@ -925,7 +925,7 @@ static int realtek_cr_autosuspend_setup(struct us_data *us) | |||
925 | (unsigned long)chip); | 925 | (unsigned long)chip); |
926 | fw5895_init(us); | 926 | fw5895_init(us); |
927 | 927 | ||
928 | /* enable autosuspend funciton of the usb device */ | 928 | /* enable autosuspend function of the usb device */ |
929 | usb_enable_autosuspend(us->pusb_dev); | 929 | usb_enable_autosuspend(us->pusb_dev); |
930 | 930 | ||
931 | return 0; | 931 | return 0; |
diff --git a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c index 866b5df36ed1..0e400f382f3a 100644 --- a/drivers/usb/storage/scsiglue.c +++ b/drivers/usb/storage/scsiglue.c | |||
@@ -241,7 +241,7 @@ static int slave_configure(struct scsi_device *sdev) | |||
241 | 241 | ||
242 | /* Some USB cardreaders have trouble reading an sdcard's last | 242 | /* Some USB cardreaders have trouble reading an sdcard's last |
243 | * sector in a larger then 1 sector read, since the performance | 243 | * sector in a larger then 1 sector read, since the performance |
244 | * impact is negible we set this flag for all USB disks */ | 244 | * impact is negligible we set this flag for all USB disks */ |
245 | sdev->last_sector_bug = 1; | 245 | sdev->last_sector_bug = 1; |
246 | 246 | ||
247 | /* Enable last-sector hacks for single-target devices using | 247 | /* Enable last-sector hacks for single-target devices using |
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index f60e7d463636..ef9058138dff 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -98,7 +98,7 @@ MODULE_PARM_DESC(quirks, "supplemental list of device IDs and their quirks"); | |||
98 | /* The vendor name should be kept at eight characters or less, and | 98 | /* The vendor name should be kept at eight characters or less, and |
99 | * the product name should be kept at 16 characters or less. If a device | 99 | * the product name should be kept at 16 characters or less. If a device |
100 | * has the US_FL_FIX_INQUIRY flag, then the vendor and product names | 100 | * has the US_FL_FIX_INQUIRY flag, then the vendor and product names |
101 | * normally generated by a device thorugh the INQUIRY response will be | 101 | * normally generated by a device through the INQUIRY response will be |
102 | * taken from this list, and this is the reason for the above size | 102 | * taken from this list, and this is the reason for the above size |
103 | * restriction. However, if the flag is not present, then you | 103 | * restriction. However, if the flag is not present, then you |
104 | * are free to use as many characters as you like. | 104 | * are free to use as many characters as you like. |