21 Sep, 2015

4 commits


04 Aug, 2015

4 commits

  • Enable drivers on mei client bus to subscribe
    to asynchronous event notifications.
    Introduce events_mask to the existing callback infrastructure
    so it is possible to handle both RX and event notification.

    Signed-off-by: Alexander Usyskin
    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Alexander Usyskin
     
  • Split the device registration into allocation and device struct
    initialization, device setup, and the final device registration.
    This why it is possible to run fixups and quirks during the setup stage
    on an initialized device. Each fixup routine effects do_match flag.
    If the flag is set to false at the end the device won't be
    registered on the bus.

    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Tomas Winkler
     
  • Instead of holding the list of host clients (me_cl)
    we want to keep the list me client devices (mei_cl_device)
    This way we can create host to me client connection only when needed.
    Add list head to mei_cl_device and cl_bus_lock
    Add bus_added flag to the me client (mei_me_client) to track if
    the appropriate mei_cl_device was already created and is_added
    flag to mei_cl_device to track if it was already added to the device
    list across the bus rescans

    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Tomas Winkler
     
  • Add reference to the bus device (mei_device) for easier access.
    To ensures that referencing cldev->bus is valid during cldev life time
    we increase the bus ref counter on a client device creation and drop it
    on the device release.

    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Tomas Winkler
     

25 May, 2015

1 commit


12 Jan, 2015

1 commit


29 Sep, 2014

1 commit


09 Apr, 2013

1 commit

  • It should be left to the drivers to enable and disable the device on the
    MEI bus when e.g getting probed.
    For drivers to be able to safely call the enable and disable hooks, the
    mei_cl_ops must be set before it's probed and thus this should happen
    before registering the device on the MEI bus. Hence the mei_cl_add_device()
    prototype change.

    Signed-off-by: Samuel Ortiz
    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Samuel Ortiz
     

29 Mar, 2013

4 commits