greybus: control: add error message to mode-switch helper
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:39 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:24:17 +0000 (12:24 -0700)
commit08f94352e8d09f7db07b4e894b3c223ee92df5ad
treedbb2926d705f413e7cdcc76f6e37a716d584a26a
parente3fbe484323a026ed3689c72bac186ab2009dbcb
greybus: control: add error message to mode-switch helper

Print an informative error message in case sending the mode-switch
request fails.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/control.c