Test fix for realtek_async_autopm oops from Stanislaw Gruszka (rhbz 784345)
This commit is contained in:
parent
95885cbd27
commit
8d85deadf7
|
@ -808,6 +808,9 @@ Patch21227: mac80211-fix-work-removal-on-deauth-request.patch
|
|||
#rhbz 718790
|
||||
Patch21230: rds-Make-rds_sock_lock-BH-rather-than-IRQ-safe.patch
|
||||
|
||||
#rhbz 784345
|
||||
Patch21231: realtek_async_autopm.patch
|
||||
|
||||
Patch22000: rcu-reintroduce-missing-calls.patch
|
||||
|
||||
# compat-wireless patches
|
||||
|
@ -1508,6 +1511,9 @@ ApplyPatch rds-Make-rds_sock_lock-BH-rather-than-IRQ-safe.patch
|
|||
#rhbz 783211
|
||||
ApplyPatch fs-Inval-cache-for-parent-block-device-if-fsync-called-on-part.patch
|
||||
|
||||
#rhbz 784345
|
||||
ApplyPatch realtek_async_autopm.patch
|
||||
|
||||
# END OF PATCH APPLICATIONS
|
||||
|
||||
%endif
|
||||
|
@ -2283,6 +2289,7 @@ fi
|
|||
- Linux 3.2.2
|
||||
- Add patch to invalidate parent cache when fsync is called on a partition
|
||||
(rhbz 783211)
|
||||
- Test fix for realtek_async_autopm oops from Stanislaw Gruszka (rhbz 784345)
|
||||
|
||||
* Wed Jan 25 2012 John W. Linville <linville@redhat.com>
|
||||
- modpost: add option to allow external modules to avoid taint
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c
|
||||
index 1f62723..d32f720 100644
|
||||
--- a/drivers/usb/storage/realtek_cr.c
|
||||
+++ b/drivers/usb/storage/realtek_cr.c
|
||||
@@ -789,7 +789,7 @@ static void rts51x_suspend_timer_fn(unsigned long data)
|
||||
rts51x_set_stat(chip, RTS51X_STAT_SS);
|
||||
/* ignore mass storage interface's children */
|
||||
pm_suspend_ignore_children(&us->pusb_intf->dev, true);
|
||||
- usb_autopm_put_interface(us->pusb_intf);
|
||||
+ usb_autopm_put_interface_async(us->pusb_intf);
|
||||
US_DEBUGP("%s: RTS51X_STAT_SS 01,"
|
||||
"intf->pm_usage_cnt:%d, power.usage:%d\n",
|
||||
__func__,
|
Loading…
Reference in New Issue