1. 02 6月, 2016 5 次提交
  2. 04 3月, 2016 1 次提交
  3. 23 12月, 2015 1 次提交
  4. 17 12月, 2015 1 次提交
    • T
      usb: musb: core: Fix handling of the phy notifications · 8055555f
      Tony Lindgren 提交于
      We currently can't unload omap2430 MUSB platform glue driver module and
      this cause issues for fixing the MUSB code further. The reason we can't
      remove omap2430 is because it uses the PHY functions and also exports the
      omap_musb_mailbox function that some PHY drivers are using.
      
      Let's fix the issue by exporting a more generic musb_mailbox function
      from the MUSB core and allow platform glue layers to register phy_callback
      function as needed.
      
      And now we can now also get rid of the include/linux/musb-omap.h.
      
      Cc: Bin Liu <b-liu@ti.com>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: NeilBrown <neil@brown.name>
      Reviewed-by: NKishon Vijay Abraham I <kishon@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      8055555f
  5. 15 12月, 2015 1 次提交
  6. 09 12月, 2015 1 次提交
  7. 08 12月, 2015 1 次提交
    • T
      usb: musb: core: Fix pm runtime for deferred probe · 4d055910
      Tony Lindgren 提交于
      If musb_init_controller fails at musb_platform_init, we have already
      called pm_runtime_irq_safe for musb and that causes the pm runtime count
      to be enabled for parent before the parent has completed initialization.
      This causes pm to stop working as on unload nothing gets idled.
      
      This issue can be reproduced at least with:
      
      # modprobe omap2430
      HS USB OTG: no transceiver configured
      musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
      # modprobe phy-twl4030-usb
      # rmmod omap2430
      
      And after the steps above omap2430 will block deeper idle states on
      omap3.
      
      To fix this, let's not enable pm runtime until we need to and the
      parent has been initialized. Note that this does not fix the issue of
      PM being broken for musb during runtime.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4d055910
  8. 18 11月, 2015 1 次提交
  9. 17 11月, 2015 1 次提交
    • U
      usb: musb: core: fix order of arguments to ulpi write callback · 705e63d2
      Uwe Kleine-König 提交于
      There is a bit of a mess in the order of arguments to the ulpi write
      callback. There is
      
      	int ulpi_write(struct ulpi *ulpi, u8 addr, u8 val)
      
      in drivers/usb/common/ulpi.c;
      
      	struct usb_phy_io_ops {
      		...
      		int (*write)(struct usb_phy *x, u32 val, u32 reg);
      	}
      
      in include/linux/usb/phy.h.
      
      The callback registered by the musb driver has to comply to the latter,
      but up to now had "offset" first which effectively made the function
      broken for correct users. So flip the order and while at it also
      switch to the parameter names of struct usb_phy_io_ops's write.
      
      Fixes: ffb865b1 ("usb: musb: add ulpi access operations")
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      705e63d2
  10. 16 10月, 2015 1 次提交
  11. 27 9月, 2015 1 次提交
  12. 14 9月, 2015 2 次提交
  13. 26 5月, 2015 5 次提交
  14. 08 5月, 2015 3 次提交
  15. 08 4月, 2015 1 次提交
  16. 11 3月, 2015 14 次提交