aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRahul Bedarkar <rahulbedarkar89@gmail.com>2014-01-02 08:57:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-03 15:39:31 -0500
commit5ae477b05fb5edd059f709ff0a7a2f40fb2827d1 (patch)
tree7660d67db5a06409807c88214932ad4b99e8d914 /drivers
parent45868b3a98605172ebe6367f602dca347e1d2904 (diff)
USB: musb: correct spelling mistakes in comment and error string
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/blackfin.c4
-rw-r--r--drivers/usb/musb/musb_core.c6
-rw-r--r--drivers/usb/musb/musb_cppi41.c2
-rw-r--r--drivers/usb/musb/musb_host.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index d9692f78e227..ef023b93e1c8 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -77,7 +77,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src)
77 bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg); 77 bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg);
78 SSYNC(); 78 SSYNC();
79 79
80 /* Wait for compelete */ 80 /* Wait for complete */
81 while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum))) 81 while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum)))
82 cpu_relax(); 82 cpu_relax();
83 83
@@ -131,7 +131,7 @@ void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
131 bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg); 131 bfin_write16(USB_DMA_REG(epnum, USB_DMAx_CTRL), dma_reg);
132 SSYNC(); 132 SSYNC();
133 133
134 /* Wait for compelete */ 134 /* Wait for complete */
135 while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum))) 135 while (!(bfin_read_USB_DMA_INTERRUPT() & (1 << epnum)))
136 cpu_relax(); 136 cpu_relax();
137 137
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 5942f002fa52..091eab5da02e 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -83,7 +83,7 @@
83 * This gets many kinds of configuration information: 83 * This gets many kinds of configuration information:
84 * - Kconfig for everything user-configurable 84 * - Kconfig for everything user-configurable
85 * - platform_device for addressing, irq, and platform_data 85 * - platform_device for addressing, irq, and platform_data
86 * - platform_data is mostly for board-specific informarion 86 * - platform_data is mostly for board-specific information
87 * (plus recentrly, SOC or family details) 87 * (plus recentrly, SOC or family details)
88 * 88 *
89 * Most of the conditional compilation will (someday) vanish. 89 * Most of the conditional compilation will (someday) vanish.
@@ -1187,7 +1187,7 @@ fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep,
1187 musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); 1187 musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum);
1188 1188
1189 /* EP0 reserved endpoint for control, bidirectional; 1189 /* EP0 reserved endpoint for control, bidirectional;
1190 * EP1 reserved for bulk, two unidirection halves. 1190 * EP1 reserved for bulk, two unidirectional halves.
1191 */ 1191 */
1192 if (hw_ep->epnum == 1) 1192 if (hw_ep->epnum == 1)
1193 musb->bulk_ep = hw_ep; 1193 musb->bulk_ep = hw_ep;
@@ -1872,7 +1872,7 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
1872 /* The musb_platform_init() call: 1872 /* The musb_platform_init() call:
1873 * - adjusts musb->mregs 1873 * - adjusts musb->mregs
1874 * - sets the musb->isr 1874 * - sets the musb->isr
1875 * - may initialize an integrated tranceiver 1875 * - may initialize an integrated transceiver
1876 * - initializes musb->xceiv, usually by otg_get_phy() 1876 * - initializes musb->xceiv, usually by otg_get_phy()
1877 * - stops powering VBUS 1877 * - stops powering VBUS
1878 * 1878 *
diff --git a/drivers/usb/musb/musb_cppi41.c b/drivers/usb/musb/musb_cppi41.c
index a12bd30401e0..f88929609bac 100644
--- a/drivers/usb/musb/musb_cppi41.c
+++ b/drivers/usb/musb/musb_cppi41.c
@@ -615,7 +615,7 @@ static int cppi41_dma_controller_start(struct cppi41_dma_controller *controller)
615 615
616 dc = dma_request_slave_channel(dev, str); 616 dc = dma_request_slave_channel(dev, str);
617 if (!dc) { 617 if (!dc) {
618 dev_err(dev, "Falied to request %s.\n", str); 618 dev_err(dev, "Failed to request %s.\n", str);
619 ret = -EPROBE_DEFER; 619 ret = -EPROBE_DEFER;
620 goto err; 620 goto err;
621 } 621 }
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
index 01e7caf6f7b9..0e30dc27c759 100644
--- a/drivers/usb/musb/musb_host.c
+++ b/drivers/usb/musb/musb_host.c
@@ -2013,7 +2013,7 @@ static int musb_schedule(
2013 head = &musb->out_bulk; 2013 head = &musb->out_bulk;
2014 2014
2015 /* Enable bulk RX/TX NAK timeout scheme when bulk requests are 2015 /* Enable bulk RX/TX NAK timeout scheme when bulk requests are
2016 * multiplexed. This scheme doen't work in high speed to full 2016 * multiplexed. This scheme does not work in high speed to full
2017 * speed scenario as NAK interrupts are not coming from a 2017 * speed scenario as NAK interrupts are not coming from a
2018 * full speed device connected to a high speed device. 2018 * full speed device connected to a high speed device.
2019 * NAK timeout interval is 8 (128 uframe or 16ms) for HS and 2019 * NAK timeout interval is 8 (128 uframe or 16ms) for HS and