From: Hans de Goede Date: Sun, 29 Mar 2015 10:50:46 +0000 (+0200) Subject: phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect X-Git-Tag: omap-for-v4.3/legacy-v2-signed~119^2~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24fe86a617c550fb9bdc6c8bd7cf647d3955f8ba;p=pandora-kernel.git phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect The sunxi otg phy has a bug where it wrongly detects a high speed squelch when reset on the root port gets de-asserted with a lo-speed device. The workaround for this is to disable squelch detect before de-asserting reset, and re-enabling it after the reset de-assert is done. Add a sunxi specific phy function to allow the sunxi-musb glue to do this. Acked-by: Kishon Vijay Abraham I Signed-off-by: Hans de Goede Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed