]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
greybus: svc: Read and clear module's boot status
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 24 Sep 2015 21:40:29 +0000 (14:40 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 24 Sep 2015 22:17:45 +0000 (15:17 -0700)
commit6bec5c78e59dd847c095f4a868baf14be871c8bb
tree185dedc7bccab2f969e33d0010a4ab3713c00abc
parentbbaca7115167088e8177ab8cc7aafdcb8666dea9
greybus: svc: Read and clear module's boot status

As per the module's boot sequence diagram, the AP needs to read/clear
T_TstSrcIncrement attribute on hotplug (svc) events.

Implement that.

FIXME: This is module-hardware dependent and needs to be extended for
every type of module we want to support.

[ Based on work by Marti & Eli to clear the attribute with DME set]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/svc.c