X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fusb%2Fusb.c;h=74b8f8c4dcc6baac78b888bf7bfee0fbe79a43ab;hb=69f7043e7a2223e25cc525161a2de45d293d21d0;hp=9ff31c4b9e2b895de1ca41d27701eabc0f66fafc;hpb=484cb254482ee644cc2981d1e2753fca2718bcd3;p=carl9170fw.git diff --git a/carlfw/usb/usb.c b/carlfw/usb/usb.c index 9ff31c4..74b8f8c 100644 --- a/carlfw/usb/usb.c +++ b/carlfw/usb/usb.c @@ -189,7 +189,6 @@ static void usb_reset_eps(void) #endif /* CONFIG_CARL9170FW_USB_MODESWITCH */ -#ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE static void usb_pta_init(void) { unsigned int usb_dma_ctrl = 0; @@ -251,13 +250,10 @@ static void usb_pta_init(void) set(AR9170_USB_REG_DMA_CTL, usb_dma_ctrl); } -#endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */ void usb_init(void) { -#ifdef CONFIG_CARL9170FW_USB_INIT_FIRMWARE usb_pta_init(); -#endif /* CONFIG_CARL9170FW_USB_INIT_FIRMWARE */ fw.usb.config = 1; /*