greybus: audio: add runtime pm support
authorDavid Lin <dtwlin@google.com>
Thu, 14 Jul 2016 20:13:00 +0000 (15:13 -0500)
committerAlex Elder <elder@linaro.org>
Thu, 14 Jul 2016 21:53:55 +0000 (16:53 -0500)
commit6ba7fad430d6300b966800bc5d2c782e2baf6f1d
tree69966b93b1c1381c4b807e0d92eab27e4fc654af
parent61e13db9cc8945d53f72d4021594ee3be214e667
greybus: audio: add runtime pm support

Add runtime pm support to audio protocol device class driver.

Testing Done:
 - Use white speaker module and check the interface is autosuspended when
   it's idle and resumed when playback audio

Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Reviewed-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/audio_apbridgea.c
drivers/staging/greybus/audio_module.c
drivers/staging/greybus/audio_topology.c