1. 09 9月, 2014 3 次提交
  2. 28 5月, 2014 1 次提交
  3. 05 2月, 2014 1 次提交
    • A
      usb: dwc2: bail out early when booting with "nousb" · 861e0f5b
      Andre Heider 提交于
      Add usb_disabled() check to prevent kernel oops when booting with "nousb"
      in the cmdline:
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000030
      ...
      PC is at bus_add_device+0xe0/0x18c
      LR is at device_add_groups+0x1c/0x20
      ...
      [<c02191c0>] (bus_add_device) from [<c0217130>] (device_add+0x41c/0x538)
      [<c0217130>] (device_add) from [<c023b1d4>] (usb_new_device+0x270/0x35c)
      [<c023b1d4>] (usb_new_device) from [<c0241174>] (usb_add_hcd+0x4fc/0x760)
      [<c0241174>] (usb_add_hcd) from [<c0254ce0>] (dwc2_hcd_init+0x434/0x510)
      [<c0254ce0>] (dwc2_hcd_init) from [<c02594f4>] (dwc2_driver_probe+0x130/0x170)
      [<c02594f4>] (dwc2_driver_probe) from [<c021bbd0>] (platform_drv_probe+0x28/0x58)
      Signed-off-by: NAndre Heider <a.heider@gmail.com>
      Acked-by: NPaul Zimmerman <paulz@synopsys.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      861e0f5b
  4. 14 1月, 2014 1 次提交
  5. 05 12月, 2013 1 次提交
  6. 04 12月, 2013 1 次提交
  7. 20 11月, 2013 1 次提交
  8. 31 10月, 2013 1 次提交
  9. 29 10月, 2013 1 次提交
  10. 18 5月, 2013 2 次提交
    • W
      drivers/staging/dwc2: don't check resource with devm_ioremap_resource · b132566e
      Wolfram Sang 提交于
      devm_ioremap_resource does sanity checks on the given resource. No need to
      duplicate this in the driver.
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      b132566e
    • M
      staging: dwc2: Fix dma-enabled platform devices using a default dma_mask · 642f2ecc
      Matthijs Kooijman 提交于
      Platform devices added through OF usually do not have any dma_mask
      pointer set. If the hardware advertises DMA support, the driver will
      expect DMA buffers to be passed in, but the USB core will not do this
      due to lack of a dma mask, breaking all connectiviy.
      
      To fix this, set a default dma_mask by pointing it at the
      coherent_dma_mask and set their value to a 32 bit mask. This still
      allows any platform code to set any more specific mask if needed, but
      makes the driver work for most dma-enabled hardware.
      
      It would be great if this patch could be included in 3.10, since it is
      needed to make the dwc2 driver work on the ralink rt3052 target.
      
      Before, the plan was to set up the dma mask in MIPS platform code, but
      because of a similar change in ehci and the uglyness of the code for
      that, the plan for that infrastructure was dropped. This patch makes the
      setting of the dma_mask happen in the same way as the patch Stephen
      Warren (set device dma_mask without reference to global data).
      Signed-off-by: NMatthijs Kooijman <matthijs@stdin.nl>
      Acked-by: NPaul Zimmerman <paulz@synopsys.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      642f2ecc
  11. 17 5月, 2013 1 次提交
  12. 24 4月, 2013 1 次提交
  13. 12 4月, 2013 3 次提交
  14. 26 3月, 2013 2 次提交
  15. 12 3月, 2013 1 次提交