diff --git a/target/linux/lantiq/patches-3.18/0041-USB-DWC2-add-ltq-params.patch b/target/linux/lantiq/patches-3.18/0041-USB-DWC2-add-ltq-params.patch index a0af1236f9..2d9cb0f63f 100644 --- a/target/linux/lantiq/patches-3.18/0041-USB-DWC2-add-ltq-params.patch +++ b/target/linux/lantiq/patches-3.18/0041-USB-DWC2-add-ltq-params.patch @@ -12,11 +12,11 @@ + .speed = -1, + .enable_dynamic_fifo = -1, + .en_multiple_tx_fifo = -1, -+ .host_rx_fifo_size = 240, /* 240 DWORDs */ -+ .host_nperio_tx_fifo_size = 240, /* 240 DWORDs */ -+ .host_perio_tx_fifo_size = 32, /* 32 DWORDs */ ++ .host_rx_fifo_size = 288, /* 288 DWORDs */ ++ .host_nperio_tx_fifo_size = 128, /* 128 DWORDs */ ++ .host_perio_tx_fifo_size = 96, /* 96 DWORDs */ + .max_transfer_size = -1, -+ .max_packet_count = -1, ++ .max_packet_count = 511, + .host_channels = -1, + .phy_type = -1, + .phy_utmi_width = -1, @@ -28,7 +28,7 @@ + .host_ls_low_power_phy_clk = -1, + .ts_dline = -1, + .reload_ctl = -1, -+ .ahbcfg = -1, ++ .ahbcfg = GAHBCFG_HBSTLEN_INCR16 << GAHBCFG_HBSTLEN_SHIFT, + .uframe_sched = -1, +}; + diff --git a/target/linux/lantiq/patches-4.1/0041-USB-DWC2-add-ltq-params.patch b/target/linux/lantiq/patches-4.1/0041-USB-DWC2-add-ltq-params.patch index c55f5b6821..0b5d09bed2 100644 --- a/target/linux/lantiq/patches-4.1/0041-USB-DWC2-add-ltq-params.patch +++ b/target/linux/lantiq/patches-4.1/0041-USB-DWC2-add-ltq-params.patch @@ -12,11 +12,11 @@ + .speed = -1, + .enable_dynamic_fifo = -1, + .en_multiple_tx_fifo = -1, -+ .host_rx_fifo_size = 240, /* 240 DWORDs */ -+ .host_nperio_tx_fifo_size = 240, /* 240 DWORDs */ -+ .host_perio_tx_fifo_size = 32, /* 32 DWORDs */ ++ .host_rx_fifo_size = 288, /* 288 DWORDs */ ++ .host_nperio_tx_fifo_size = 128, /* 128 DWORDs */ ++ .host_perio_tx_fifo_size = 96, /* 96 DWORDs */ + .max_transfer_size = -1, -+ .max_packet_count = -1, ++ .max_packet_count = 511, + .host_channels = -1, + .phy_type = -1, + .phy_utmi_width = -1, @@ -28,7 +28,7 @@ + .host_ls_low_power_phy_clk = -1, + .ts_dline = -1, + .reload_ctl = -1, -+ .ahbcfg = -1, ++ .ahbcfg = GAHBCFG_HBSTLEN_INCR16 << GAHBCFG_HBSTLEN_SHIFT, + .uframe_sched = -1, +}; +