power: update error handling
authorLukasz Krakowiak <lukaszx.krakowiak@intel.com>
Thu, 28 Mar 2019 15:55:07 +0000 (16:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 14:29:31 +0000 (15:29 +0100)
commit1b897991473fc2fe76a130c527ab0cc93b1ac72a
tree93ac30040c25e62cb6fbea23d00c5fb475931632
parente1e4dafbc7b83c695eb745fe033f5c1e9e344454
power: update error handling

Update for handling negative returned status from functions
call.

Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
examples/vm_power_manager/channel_manager.c
examples/vm_power_manager/channel_monitor.c