MLK-17445: ASoC: ak4497: add pm_runtime support
authorViorel Suman <viorel.suman@nxp.com>
Tue, 23 Jan 2018 12:18:05 +0000 (14:18 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:40 +0000 (14:53 -0500)
commitf5b826b7d6aab7f177b9dffc57a438e22a628ce4
tree4b25402aa70da540ac79d6755b8c379f47990df8
parentd3a15f94b6a348240ffc3ddbaa030241de7df305
MLK-17445: ASoC: ak4497: add pm_runtime support

Add pm_runtime support fo AK4497 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: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
sound/soc/codecs/ak4497.c