diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-29 07:36:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-29 07:36:43 +0000 |
commit | 0c2c450f2425592f2a19f3a6a2a4a36cf8ec406a (patch) | |
tree | 15e272500401e7847d9ea7dc40a0fafb81f93c1d /target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c | |
parent | d5cd0a15d41eb235804254b824658880bf0e26d8 (diff) | |
download | master-187ad058-0c2c450f2425592f2a19f3a6a2a4a36cf8ec406a.tar.gz master-187ad058-0c2c450f2425592f2a19f3a6a2a4a36cf8ec406a.tar.bz2 master-187ad058-0c2c450f2425592f2a19f3a6a2a4a36cf8ec406a.zip |
adm5120: merge 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31511 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c')
-rw-r--r-- | target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c index 0ccf829c2d..7d7fc2438f 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c @@ -257,7 +257,7 @@ static int admhc_bus_suspend(struct usb_hcd *hcd) spin_lock_irq(&ahcd->lock); - if (unlikely(!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags))) + if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) rc = -ESHUTDOWN; else rc = admhc_rh_suspend(ahcd, 0); @@ -275,7 +275,7 @@ static int admhc_bus_resume(struct usb_hcd *hcd) spin_lock_irq(&ahcd->lock); - if (unlikely(!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags))) + if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) rc = -ESHUTDOWN; else rc = admhc_rh_resume(ahcd); |