MLK-15033: ASoC: ak4458: add pm_runtime support
authorCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Thu, 25 Jan 2018 12:36:55 +0000 (14:36 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:41 +0000 (14:53 -0500)
commit592562a3dfa61066345bb7ec7cf4f951c51a710c
treedbe61d2a1ea58b5ce2bc4db90d9349a6bb64882e
parentf5b826b7d6aab7f177b9dffc57a438e22a628ce4
MLK-15033: ASoC: ak4458: add pm_runtime support

Add pm_runtime support for AK4458 codec. Based on latest power
management design in MLK-17074, every driver need to enter
runtime suspend state before entering system suspend, so the
driver should call the pm_runtime_force_suspend in suspend.

Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
sound/soc/codecs/ak4458-i2c.c
sound/soc/codecs/ak4458.c