FreeBSD Bugzilla – Attachment 149269 Details for
Bug 194884
[acpi] Asus UX31E USB hangs during suspend, due to putting the USB controllers into D3 state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A proposed fix + acpi.c patch
acpi_power.diff (text/plain), 1003 bytes, created by
Jung-uk Kim
on 2014-11-10 20:36:25 UTC
(
hide
)
Description:
A proposed fix + acpi.c patch
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2014-11-10 20:36:25 UTC
Size:
1003 bytes
patch
obsolete
>Index: sys/dev/acpica/acpi.c >=================================================================== >--- sys/dev/acpica/acpi.c (revision 274350) >+++ sys/dev/acpica/acpi.c (working copy) >@@ -710,7 +710,7 @@ acpi_set_power_children(device_t dev, int state) > child = devlist[i]; > dstate = state; > if (device_is_attached(child) && >- acpi_device_pwr_for_sleep(parent, dev, &dstate) == 0) >+ acpi_device_pwr_for_sleep(parent, child, &dstate) == 0) > acpi_set_powerstate(child, dstate); > } > free(devlist, M_TEMP); >Index: sys/dev/pci/pci.c >=================================================================== >--- sys/dev/pci/pci.c (revision 274350) >+++ sys/dev/pci/pci.c (working copy) >@@ -3651,7 +3651,7 @@ pci_set_power_child(device_t dev, device_t child, > dinfo = device_get_ivars(child); > dstate = state; > if (device_is_attached(child) && >- PCIB_POWER_FOR_SLEEP(pcib, dev, &dstate) == 0) >+ PCIB_POWER_FOR_SLEEP(pcib, child, &dstate) == 0) > pci_set_powerstate(child, dstate); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194884
:
149219
| 149269