1. 04 1月, 2014 9 次提交
  2. 27 12月, 2013 2 次提交
  3. 24 12月, 2013 14 次提交
  4. 22 12月, 2013 2 次提交
  5. 21 12月, 2013 12 次提交
  6. 20 12月, 2013 1 次提交
    • A
      usb: musb: fix setting JZ4740 gadget periphal mode on reset · 23db9fd2
      Apelete Seketeli 提交于
      JZ4740 USB Device Controller is not OTG compatible and does not have
      DEVCTL register in silicon.
      
      During ethernet-over-usb transactions, on reset, musb driver tries to
      read from DEVCTL and consequently sets device as host (A-Device)
      instead of peripheral (B-Device), which makes it a composite device to
      the USB gadget driver.
      This induces a kernel panic during power down where the USB gadget
      driver does a null pointer dereference when trying to access the
      composite device configuration.
      
      On reset, do not rely on DEVCTL value for setting gadget peripheral
      mode. Use is_otg flag instead to set it to B-Device.
      Signed-off-by: NApelete Seketeli <apelete@seketeli.net>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      23db9fd2