summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/interface.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-07-20 17:40:26 +0300
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-20 20:16:54 +0300
commite21e6bad3f425e8bc74186f3ab1e21cd40f7a208 (patch)
tree0d4d369fa79ece95b10d909150f83e4bb0b431ff /drivers/staging/greybus/interface.c
parent93e29c8530881766837e62088d54ffb733f8bc2a (diff)
downloadlinux-e21e6bad3f425e8bc74186f3ab1e21cd40f7a208.tar.xz
greybus: interface: fix power_state documentation
Reword the power_state attribute documentation to make it clear that an attempt to boot and possibly enumerate an interface is made when writing "on" to the file, and that on errors the interface will again be powered down. Drop the incorrect claim that writing the currently read value has no effect, since no such guarantees can be made (e.g. several writers may be sleeping on the interface mutex). Also fix some minor language issues. Reviewed-by: Sandeep Patil <sspatil@google.com> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Patrick Titiano <ptitiano@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.c')
0 files changed, 0 insertions, 0 deletions