usb: misc: usb3503: Default to hub mode
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:55 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 19:20:26 +0000 (12:20 -0700)
Since there is no runtime interface for changing modes this is probably
the most sensible default.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb3503.c

index 777102e..8f5dff2 100644 (file)
@@ -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;