1. 17 Nov, 2014 3 commits
  2. 16 Nov, 2014 1 commit
    • Greg Kroah-Hartman's avatar
      greybus: Greybus UART connection driver · b4be4043
      Greg Kroah-Hartman authored
      Flush out the Greybus UART driver to actually implement greybus
      requests.  The number of Greybus Protocol operations has been reduced
      down to a managable number, and, if you look closely, you will notice it
      follows the CDC ACM USB specification, which can drive UART devices
      quite well, no need for complex UART state changes, leave all of that
      logic up to the firmware, if it wants/needs it.
      
      The Greybus Protocol spec has been updated to match the driver.
      
      TODO: There are 2 requests from the device to the host that need to be
      implemented.  As this isn't fully hooked up in the Greybus core, that is
      not implemented here yet either.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      b4be4043
  3. 15 Nov, 2014 1 commit
  4. 14 Nov, 2014 34 commits
  5. 06 Nov, 2014 1 commit
    • Alex Elder's avatar
      greybus: kill gbuf->complete · 5d2207e7
      Alex Elder authored
      The gbuf complete method is a callback that allows the creator of a
      gbuf to know when all processing on a gbuf is done.
      
      We now only ever allocate gbufs for use in Greybus operations, and
      in that case we only ever supply gb_operation_gbuf_complete() as the
      completion callback.  Furthermore, the only place gbuf->complete()
      is called is in gb_operation_recv_work().
      
      Knowing this, we can just call gb_operation_gbuf_complete() directly
      from gb_operation_recv_work(), and get rid of the gbuf->complete()
      method entirely.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      5d2207e7