1. 03 5月, 2019 1 次提交
  2. 10 12月, 2018 1 次提交
  3. 05 12月, 2018 1 次提交
  4. 05 10月, 2018 1 次提交
    • S
      usb: dwc2: disable power_down on rockchip devices · c216765d
      SolidHal 提交于
       The bug would let the usb controller enter partial power down,
       which was formally known as hibernate, upon boot if nothing was plugged
       in to the port. Partial power down couldn't be exited properly, so any
       usb devices plugged in after boot would not be usable.
      
       Before the name change, params.hibernation was false by default, so
       _dwc2_hcd_suspend() would skip entering hibernation. With the
       rename, _dwc2_hcd_suspend() was changed to use  params.power_down
       to decide whether or not to enter partial power down.
      
       Since params.power_down is non-zero by default, it needs to be set
       to 0 for rockchip devices to restore functionality.
      
       This bug was reported in the linux-usb thread:
       REGRESSION: usb: dwc2: USB device not seen after boot
      
       The commit that caused this regression is:
      6d23ee9cSigned-off-by: NSolidHal <hal@halemmerich.com>
      Acked-by: NMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      c216765d
  5. 02 10月, 2018 2 次提交
  6. 30 7月, 2018 5 次提交
  7. 21 5月, 2018 3 次提交
  8. 15 5月, 2018 1 次提交
  9. 13 3月, 2018 8 次提交
  10. 05 3月, 2018 1 次提交
  11. 11 12月, 2017 1 次提交
    • M
      usb: dwc2: Fix TxFIFOn sizes and total TxFIFO size issues · 9273083a
      Minas Harutyunyan 提交于
      In host mode reading from DPTXSIZn returning invalid value in
      dwc2_check_param_tx_fifo_sizes function.
      
      In total TxFIFO size calculations unnecessarily reducing by ep_info.
      hw->total_fifo_size can be fully allocated for FIFO's.
      
      Added num_dev_in_eps member in dwc2_hw_params structure to save number
      of IN EPs.
      
      Added g_tx_fifo_size array in dwc2_hw_params structure to store power
      on reset values of DPTXSIZn registers in forced device mode.
      
      Updated dwc2_hsotg_tx_fifo_count() function to get TxFIFO count from
      num_dev_in_eps.
      
      Updated dwc2_get_dev_hwparams() function to store DPTXFSIZn in
      g_tx_fifo_size array.
      
      dwc2_get_host/dev_hwparams() functions call moved after num_dev_in_eps
      set from hwcfg4.
      
      Modified dwc2_check_param_tx_fifo_sizes() function to check TxFIFOn
      sizes based on g_tx_fifo_size array.
      
      Removed ep_info subtraction during calculation of tx_addr_max in
      dwc2_hsotg_tx_fifo_total_depth() function. Also removed
      dwc2_hsotg_ep_info_size() function as no more need.
      Acked-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NGevorg Sahakyan <sahakyan@synopsys.com>
      Signed-off-by: NMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      9273083a
  12. 04 11月, 2017 1 次提交
  13. 19 10月, 2017 2 次提交
  14. 02 6月, 2017 1 次提交
  15. 11 4月, 2017 1 次提交
  16. 24 1月, 2017 10 次提交