mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 14:51:41 +00:00
12 lines
587 B
Diff
12 lines
587 B
Diff
diff -rpuN a/drivers/usb/sunxi_usb/udc/sunxi_udc.c b/drivers/usb/sunxi_usb/udc/sunxi_udc.c
|
|
--- a/drivers/usb/sunxi_usb/udc/sunxi_udc.c 2016-06-12 16:08:07.000000000 +0200
|
|
+++ b/drivers/usb/sunxi_usb/udc/sunxi_udc.c 2016-06-12 16:51:30.000000000 +0200
|
|
@@ -57,7 +57,7 @@
|
|
static sunxi_udc_io_t g_sunxi_udc_io;
|
|
static u32 usb_connect = 0;
|
|
static u32 is_controller_alive = 0;
|
|
-static u8 is_udc_enable = 0; /* is udc enable by gadget? */
|
|
+static u8 is_udc_enable = 1; /* is udc enable by gadget? */
|
|
|
|
#ifdef CONFIG_USB_SUNXI_USB0_OTG
|
|
static struct platform_device *g_udc_pdev = NULL;
|