commit | adb57cff54dd4418f4d5b17f03a976dfdc670226 | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Tue Jan 12 14:38:21 2016 +0000 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Tue Jan 12 11:21:35 2016 -0800 |
tree | 2ca439069ec4375a4208190a626b9261b06c88af | |
parent | e5273381041fc75215fb50661db39d2f8ed5544e [diff] |
greybus: power_supply: fix check for configured supply The correct check for if the power supply is ready to receive event is wrong and it should check for the registered flag. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Reported-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>