1. 24 Oct, 2014 3 commits
    • Greg Kroah-Hartman's avatar
      greybus: module: enable all sysfs attributes · 44dd970b
      Greg Kroah-Hartman authored
      We were thinking that module attributes were known at the time the
      device was created in the system, so we could query them to know if the
      sysfs file was present or not.  Unfortunatly that's not the case, we
      create the device before we parse the values, so just always show the
      sysfs attributes.  If there is no such attribute, the sysfs file will be
      empty (i.e. for the string attributes.)
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      44dd970b
    • Alex Elder's avatar
      greybus: fix repeated input errors · c4a432d3
      Alex Elder authored
      I screwed up the error handling in a patch the other day.  If we get
      an error on an input URB we should not re-submit it.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      c4a432d3
    • Greg Kroah-Hartman's avatar
      greybus: hook up greybus to the driver model · f0f61b90
      Greg Kroah-Hartman authored
      This patch hooks up modules, interfaces, and connections to the driver
      model.  Now we have a correct hierarchy, and drivers can be correctly
      bound to the proper portions in the future.  Devices are correctly
      reference counted and torn down in the proper order on removal of a
      module.
      
      Some basic sysfs attributes have been created for interfaces and
      connections.  Module attributes are not working properly, but that will
      be fixed in future changes.
      
      This has been tested on Alex's machine, with multiple hotplug and unplug
      operations of a module working correctly.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f0f61b90
  2. 22 Oct, 2014 14 commits
  3. 21 Oct, 2014 8 commits
  4. 20 Oct, 2014 15 commits