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
3 files changed
tree: 63c6cd4e65904d047d2aad802df2ddbf2324617d
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager