diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-08-11 03:36:51 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-08-11 03:36:51 -0400 |
commit | 6396fc3b3ff3f6b942992b653a62df11dcef9bea (patch) | |
tree | db3c7cbe833b43c653adc99f70941431c5ff7c4e /drivers/usb/host/ohci-hcd.c | |
parent | 4785879e4d340e24e54f6de2ccfc42728b912808 (diff) | |
parent | 3d30701b58970425e1d45994d6cb82f828924fdd (diff) |
Merge branch 'master' into for-next
Conflicts:
fs/exofs/inode.c
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3ceb097e165a..15ae39d6cc24 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -212,7 +212,7 @@ static int ohci_urb_enqueue ( | |||
212 | spin_lock_irqsave (&ohci->lock, flags); | 212 | spin_lock_irqsave (&ohci->lock, flags); |
213 | 213 | ||
214 | /* don't submit to a dead HC */ | 214 | /* don't submit to a dead HC */ |
215 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) { | 215 | if (!HCD_HW_ACCESSIBLE(hcd)) { |
216 | retval = -ENODEV; | 216 | retval = -ENODEV; |
217 | goto fail; | 217 | goto fail; |
218 | } | 218 | } |
@@ -684,7 +684,7 @@ retry: | |||
684 | } | 684 | } |
685 | 685 | ||
686 | /* use rhsc irqs after khubd is fully initialized */ | 686 | /* use rhsc irqs after khubd is fully initialized */ |
687 | hcd->poll_rh = 1; | 687 | set_bit(HCD_FLAG_POLL_RH, &hcd->flags); |
688 | hcd->uses_new_polling = 1; | 688 | hcd->uses_new_polling = 1; |
689 | 689 | ||
690 | /* start controller operations */ | 690 | /* start controller operations */ |
@@ -821,7 +821,7 @@ static irqreturn_t ohci_irq (struct usb_hcd *hcd) | |||
821 | else if (ints & OHCI_INTR_RD) { | 821 | else if (ints & OHCI_INTR_RD) { |
822 | ohci_vdbg(ohci, "resume detect\n"); | 822 | ohci_vdbg(ohci, "resume detect\n"); |
823 | ohci_writel(ohci, OHCI_INTR_RD, ®s->intrstatus); | 823 | ohci_writel(ohci, OHCI_INTR_RD, ®s->intrstatus); |
824 | hcd->poll_rh = 1; | 824 | set_bit(HCD_FLAG_POLL_RH, &hcd->flags); |
825 | if (ohci->autostop) { | 825 | if (ohci->autostop) { |
826 | spin_lock (&ohci->lock); | 826 | spin_lock (&ohci->lock); |
827 | ohci_rh_resume (ohci); | 827 | ohci_rh_resume (ohci); |