Commit 48e34d0f authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Jiri Kosina

drivers: fix comment typo diable -> disable.

The below patch fixes a typo "diable" to "disable" and also fixes another typo in a comment.
Please let me know if this is correct or not.
Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent f3449bf3
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
* Disable rx-data: * Disable rx-data:
* If cmx is realized in hardware, rx data will be disabled if requested by * If cmx is realized in hardware, rx data will be disabled if requested by
* the upper layer. If dtmf decoding is done by software and enabled, rx data * the upper layer. If dtmf decoding is done by software and enabled, rx data
* will not be diabled but blocked to the upper layer. * will not be disabled but blocked to the upper layer.
* *
* HFC conference engine: * HFC conference engine:
* If it is possible to realize all features using hardware, hardware will be * If it is possible to realize all features using hardware, hardware will be
......
...@@ -7661,7 +7661,7 @@ lpfc_pci_remove_one_s3(struct pci_dev *pdev) ...@@ -7661,7 +7661,7 @@ lpfc_pci_remove_one_s3(struct pci_dev *pdev)
* the HBA. * the HBA.
*/ */
/* HBA interrupt will be diabled after this call */ /* HBA interrupt will be disabled after this call */
lpfc_sli_hba_down(phba); lpfc_sli_hba_down(phba);
/* Stop kthread signal shall trigger work_done one more time */ /* Stop kthread signal shall trigger work_done one more time */
kthread_stop(phba->worker_thread); kthread_stop(phba->worker_thread);
......
...@@ -3063,7 +3063,7 @@ static void langwell_udc_remove(struct pci_dev *pdev) ...@@ -3063,7 +3063,7 @@ static void langwell_udc_remove(struct pci_dev *pdev)
kfree(dev->ep); kfree(dev->ep);
/* diable IRQ handler */ /* disable IRQ handler */
if (dev->got_irq) if (dev->got_irq)
free_irq(pdev->irq, dev); free_irq(pdev->irq, dev);
...@@ -3383,7 +3383,7 @@ static int langwell_udc_suspend(struct pci_dev *pdev, pm_message_t state) ...@@ -3383,7 +3383,7 @@ static int langwell_udc_suspend(struct pci_dev *pdev, pm_message_t state)
/* disable interrupt and set controller to stop state */ /* disable interrupt and set controller to stop state */
langwell_udc_stop(dev); langwell_udc_stop(dev);
/* diable IRQ handler */ /* disable IRQ handler */
if (dev->got_irq) if (dev->got_irq)
free_irq(pdev->irq, dev); free_irq(pdev->irq, dev);
dev->got_irq = 0; dev->got_irq = 0;
......
...@@ -98,13 +98,13 @@ void fhci_usb_enable_interrupt(struct fhci_usb *usb) ...@@ -98,13 +98,13 @@ void fhci_usb_enable_interrupt(struct fhci_usb *usb)
usb->intr_nesting_cnt--; usb->intr_nesting_cnt--;
} }
/* diable the usb interrupt */ /* disable the usb interrupt */
void fhci_usb_disable_interrupt(struct fhci_usb *usb) void fhci_usb_disable_interrupt(struct fhci_usb *usb)
{ {
struct fhci_hcd *fhci = usb->fhci; struct fhci_hcd *fhci = usb->fhci;
if (usb->intr_nesting_cnt == 0) { if (usb->intr_nesting_cnt == 0) {
/* diable the timer interrupt */ /* disable the timer interrupt */
disable_irq_nosync(fhci->timer->irq); disable_irq_nosync(fhci->timer->irq);
/* disable the usb interrupt */ /* disable the usb interrupt */
......
...@@ -271,8 +271,8 @@ void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep, ...@@ -271,8 +271,8 @@ void fhci_init_ep_registers(struct fhci_usb *usb, struct endpoint *ep,
/* /*
* Collect the submitted frames and inform the application about them * Collect the submitted frames and inform the application about them
* It is also prepearing the TDs for new frames. If the Tx interrupts * It is also preparing the TDs for new frames. If the Tx interrupts
* are diabled, the application should call that routine to get * are disabled, the application should call that routine to get
* confirmation about the submitted frames. Otherwise, the routine is * confirmation about the submitted frames. Otherwise, the routine is
* called frome the interrupt service routine during the Tx interrupt. * called frome the interrupt service routine during the Tx interrupt.
* In that case the application is informed by calling the application * In that case the application is informed by calling the application
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment