From: Pratyush Anand Date: Fri, 4 Jul 2014 14:01:24 +0000 (+0300) Subject: xhci: Platform: Add (en/dis)able_usb3_lpm_timeout X-Git-Tag: upstream/snapshot3+hdmi~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64b2580003b5329b08fd4841bf2b36581b38db4e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git xhci: Platform: Add (en/dis)able_usb3_lpm_timeout To use auto U0-U1/U2 transition by xhci platform device add (en/dis)able_usb3_lpm_timeout function to the xhci_plat_xhci_driver struct. Signed-off-by: Pratyush Anand Tested-by: Aymen Bouattay Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman (cherry picked from commit 94ef3d50426240a5402688e8d43a079df5ae21be) Signed-off-by: Simon Horman --- diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index ea9e4a2..15a65b6 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -90,6 +90,9 @@ static const struct hc_driver xhci_plat_xhci_driver = { .hub_status_data = xhci_hub_status_data, .bus_suspend = xhci_bus_suspend, .bus_resume = xhci_bus_resume, + + .enable_usb3_lpm_timeout = xhci_enable_usb3_lpm_timeout, + .disable_usb3_lpm_timeout = xhci_disable_usb3_lpm_timeout, }; static int xhci_plat_probe(struct platform_device *pdev)