[PATCH] usb: roles: intel_xhci: Fix Unbalanced pm_runtime_enable

2018-10-08 Thread wan . ahmad . zainie . wan . mohamad
From: Wan Ahmad Zainie Add missing pm_runtime_disable() to remove(), in order to avoid an Unbalanced pm_runtime_enable when the module is removed and re-probed. Error log: root@intel-corei7-64:~# modprobe -r intel_xhci_usb_role_switch root@intel-corei7-64:~# modprobe intel_xhci_usb_role_switch i

[PATCH] xhci fix for Intel Apollo Lake

2016-11-27 Thread wan . ahmad . zainie . wan . mohamad
From: Wan Ahmad Zainie Hi. Intel Apollo Lake also requires the XHCI_PME_STUCK_QUIRK. Without it, xhci is preventing the system from entering S0ix. This patch is tested on Leaf Hill platform. Thank you. Best regards, Zainie Wan Ahmad Zainie (1): usb: xhci: apply XHCI_PME_STUCK_QUIRK to Inte

[PATCH] usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake

2016-11-27 Thread wan . ahmad . zainie . wan . mohamad
From: Wan Ahmad Zainie Intel Apollo Lake also requires XHCI_PME_STUCK_QUIRK. Adding its PCI ID to quirk. Signed-off-by: Wan Ahmad Zainie --- drivers/usb/host/xhci-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci