greybus: pm: add error handling to bundle activation
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 21 Jul 2016 16:09:34 +0000 (18:09 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jul 2016 01:54:11 +0000 (18:54 -0700)
commitf5c93dea8fb7daf5ec26176caa791719895cd28e
treea73192ae36861f5312bf72264b7c520e8c754016
parent2358024b67fccc07b95c5d8e637927acdb8e30fa
greybus: pm: add error handling to bundle activation

The firmware now keeps the underlying hardware disabled until
receiving the first Bundle Activate request. Additionally: requesting
transition to a state the bundle is already in is no longer an error.

We can now add proper error handling to the bundle activate call.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c