1. 09 9月, 2016 3 次提交
  2. 08 9月, 2016 4 次提交
  3. 07 9月, 2016 1 次提交
    • T
      usb: dwc3: Fix dr_mode validation · 9d6173e1
      Thinh Nguyen 提交于
      This patch follows the similar fix in dwc2. See
      commit 5268ed9d ("usb: dwc2: Fix dr_mode validation")
      
      Currently, the dr_mode is only checked against the module configuration.
      It also needs to be checked against the hardware capablities.
      
      The driver now checks if both the module configuration and hardware are
      capable of the dr_mode value. If not, then it will issue a warning and
      fall back to a supported value. If it is unable to fall back to a
      suitable value, then the probe will fail.
      
      Behavior summary:
      
            module          :  actual
       HW   config  dr_mode :  dr_mode
      ---------------------------------
       host  host   any     :  host
       host  dev    any     :  INVALID
       host  otg    any     :  host
      
       dev   host   any     :  INVALID
       dev   dev    any     :  dev
       dev   otg    any     :  dev
      
       otg   host   any     :  host
       otg   dev    any     :  dev
       otg   otg    any     :  dr_mode
      Signed-off-by: NThinh Nguyen <thinhn@synopsys.com>
      Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      9d6173e1
  4. 06 9月, 2016 9 次提交
  5. 31 8月, 2016 13 次提交
  6. 29 8月, 2016 9 次提交
  7. 26 8月, 2016 1 次提交