1. 27 Oct, 2014 9 commits
  2. 24 Oct, 2014 5 commits
  3. 22 Oct, 2014 14 commits
  4. 21 Oct, 2014 8 commits
  5. 20 Oct, 2014 4 commits
    • Alex Elder's avatar
      greybus: leverage ap_disconnect() in ap_probe() · 1ec1d6dd
      Alex Elder authored
      With a few minor changes, ap_disconnect() can correctly handle
      cleaning up even a partially initialized USB interface.  Make those
      changes, and then use ap_disconnect() to simplify cleanup for all
      the error paths in ap_probe().  Reset all fields as they're cleaned
      up to facilitate debugging.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      1ec1d6dd
    • Alex Elder's avatar
      greybus: move ap_disconnect() · 6892537f
      Alex Elder authored
      The next patch has ap_probe() reference ap_disconnect().  To prepare
      for that, move ap_disconnect() up in the file.
      
      This is done as a separate commit to make it easier to see this move
      involves no other change to that function.  This and the next commit
      can be squashed if desired.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      6892537f
    • Alex Elder's avatar
      greybus: remove cports and strings from gb_module · 6ff5e00a
      Alex Elder authored
      We no longer keep copies of strings found in the manifuest in
      a module's strings array, so we can get rid of the strings array.
      Similarly, the new manifest parsing code sets up connections for
      each cport id advertised for a module, so the cport array is
      no longer needed either.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      6ff5e00a
    • Alex Elder's avatar
      greybus: drop gb_* device fields from gb_module · 09c521dc
      Alex Elder authored
      A struct gb_module has a bunch of fields from the earlier skeleton
      code, where a module was assumed to possibly have one of every
      type of device available on the GP Bridge.  The manifest parsing
      code changed it so these things will be related to connection
      endpoints, so these gb_module fields are no longer needed.
      
      A few of these (battery and sdio) haven't been implemented the "new
      way" yet, so just leave a bit of the code that was there commented
      out for now.
      
      Also, gb_tty seems to be partially implemented and I don't want to
      remove that without knowing where it's headed, so that one stays.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      09c521dc