commit | 01e4521ff9faec8900d9b099eb1aadfce4086773 | [log] [tgz] |
---|---|---|
author | yidongh <quic_yidongh@quicinc.com> | Fri Jun 17 16:25:45 2022 +0800 |
committer | yidongh <quic_yidongh@quicinc.com> | Sat Jun 18 16:25:05 2022 +0800 |
tree | 63c6cd4e65904d047d2aad802df2ddbf2324617d | |
parent | dcf0cda6b12897813c195449795859852435c925 [diff] |
agm: check state for parent device if it exists When device state changes in agm, only parent device get updated, causing error when we try to check state of child device. Add device_get_state to return proper state for device object. Change-Id: I83baae29c6788bf4d3fe188b661b97c62284243e