From: Mark Brown Date: Fri, 9 Aug 2013 10:41:55 +0000 (+0100) Subject: usb: misc: usb3503: Default to hub mode X-Git-Tag: firefly_0821_release~176^2~5474^2~99 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5a0c874ec7babc1931a67489b292de152d2a641;p=firefly-linux-kernel-4.4.55.git usb: misc: usb3503: Default to hub mode Since there is no runtime interface for changing modes this is probably the most sensible default. Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c index 777102e05c3b..8f5dff20dcb4 100644 --- a/drivers/usb/misc/usb3503.c +++ b/drivers/usb/misc/usb3503.c @@ -162,7 +162,7 @@ static int usb3503_probe(struct usb3503 *hub) struct usb3503_platform_data *pdata = dev_get_platdata(dev); struct device_node *np = dev->of_node; int err; - u32 mode = USB3503_MODE_UNKNOWN; + u32 mode = USB3503_MODE_HUB; const u32 *property; int len;