From: Florian Fainelli Date: Mon, 8 Oct 2012 13:11:21 +0000 (+0200) Subject: USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4534874a8720a361845dce47d310a98e9aac8aeb;p=pandora-kernel.git USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform Enhance the ehci-platform driver to also accept no_io_watchdog as a platform data parameter. When no_io_watchdog is set to 1, the ehci controller will set ehci->need_io_watchdog to 0. Since most EHCI controllers do need the I/O watchdog to be on, only let those which need it to turn the watchdog off. Make sure that we change need_io_watchdog after the call to ehci_setup() because ehci_setup() will unconditionnaly set need_io_watchdog to 1. Signed-off-by: Florian Fainelli Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed