1
0
Fork 0
alistair23-linux/drivers/staging/greybus/Documentation
Rui Miguel Silva 2c92bd5235 greybus: svc: add intf_eject attribute
Add a new write-only svc attribute to send an eject request to the svc
giving the interface number.

So, doing:
echo 3 > /sys/bus/greybus/devices/1-svc/intf_eject

will force eject the module on interface 3 (module slot 1 on EVT1).
This can take some seconds as the pulse width for module release is
large.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
2016-01-12 17:00:19 -08:00
..
sysfs greybus: interface: Receive serial-number on hotplug event 2015-12-30 13:13:04 -08:00
es1_ap_desc.c greybus: Move the es1_ap_desc.c file to Documentation directory 2015-01-14 21:10:31 -08:00
sysfs-bus-greybus greybus: svc: add intf_eject attribute 2016-01-12 17:00:19 -08:00