From: navin patidar Date: Thu, 6 Sep 2012 11:19:50 +0000 (+0530) Subject: staging: usbip: vhci_hcd: fixed suspend-resume loop X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~559 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107f04bbce331bf622b901ccec34a124e6b78584;p=pandora-kernel.git staging: usbip: vhci_hcd: fixed suspend-resume loop USB autosuspend suspends vhci_hcd. In this process hcd_bus_suspend gets executed which puts vhci_hcd in suspend state and calls vhci_hub_status. vhci_hub_status function checks hub state and if it is in suspend state, usb_hcd_resume_root_hub gets executed which resumes hub and if hub is idle, again autosuspend puts it in suspend state and this goes on. vhci_hub_status should resume hub only when hub port is in suspend state and hub port status has changed. Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed