1. 11 Sep, 2015 1 commit
  2. 22 Jul, 2015 1 commit
  3. 18 Dec, 2014 1 commit
  4. 05 May, 2014 3 commits
    • Stephen Warren's avatar
      USB: gadget: save driver name before registering it · 25fbf96b
      Stephen Warren authored
      g_dnl_register() currently first attempts to register a composite
      driver by name, and then saves the driver name once it's registered.
      Internally to the registration code, g_dnl_do_config() is called and
      attempts to compare the composite device's name with the list of known
      device names. This fails since the composite device's name has not yet
      been stored. This means that the first time "ums 0 0" is run, it fails,
      but subsequent attempts succeed.
      Re-order the name-saving and registration code to solve this.
      Fixes: e5b834e07f51 ("USB: gadget: added a saner gadget downloader registration API")
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    • Mateusz Zalega's avatar
      USB: gadget: added a saner gadget downloader registration API · c4d0e856
      Mateusz Zalega authored
      Preprocessor definitions and hardcoded implementation selection in
      g_dnl core were replaced by a linker list made of (usb_function_name,
      bind_callback) pairs.
      Signed-off-by: default avatarMateusz Zalega <m.zalega@samsung.com>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
    • Mateusz Zalega's avatar
      usb: dfu: fix boards wo USB cable detection · 75504e95
      Mateusz Zalega authored
      Former usb_cable_connected() patch broke compilation of boards which do
      not support this feature.
      I've renamed usb_cable_connected() to g_dnl_usb_cable_connected() and added
      its default implementation to gadget downloader driver code. There's
      only one driver of this kind and it's unlikely there'll be another, so
      there's no point in keeping it in /common.
      Previously this function was declared in usb.h. I've moved it, since
      it's more appropriate to keep it in g_dnl.h - usb.h seems to be intended
      for USB host implementation.
      Existing code, confronted with default -EOPNOTSUPP return value,
      continues as if the cable was connected.
      CONFIG_USB_CABLE_CHECK was removed.
      Change-Id: Ib9198621adee2811b391c64512f14646cefd0369
      Signed-off-by: default avatarMateusz Zalega <m.zalega@samsung.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
  5. 12 Nov, 2013 1 commit
  6. 08 Nov, 2013 1 commit
  7. 20 Oct, 2013 3 commits
  8. 24 Sep, 2013 3 commits
  9. 26 Aug, 2013 2 commits
  10. 24 Jul, 2013 1 commit
  11. 30 Jun, 2013 1 commit
  12. 18 Mar, 2013 1 commit
  13. 17 Dec, 2012 2 commits
  14. 01 Sep, 2012 1 commit