greybus: lights: fix check for configured lights
The validation for a complete configured light is wrong and it is reworked to make sure that only when the light is ready, will handle request events. Signed-off-by: NRui Miguel Silva <rui.silva@linaro.org> Reported-by: NJohan Hovold <johan@hovoldconsulting.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录