MLK-17089-2: ASoC: fsl_esai: support suspend & resume for imx8
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 6 Dec 2017 03:40:31 +0000 (11:40 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commita0c17c354475ff84597fdf357766b66ae8f4ebc7
tree8e4b4ab1b666ef26396afe3cf6c046816f1f3bf1
parent94056cf8c7fd16f6a42d929b5023f2dd8a59d7ad
MLK-17089-2: ASoC: fsl_esai: support suspend & resume for imx8

Base on latest power management design in MLK-17074, every driver
need to enter runtime suspend state in suspend, so the driver should
call the pm_runtime_force_suspend in suspend. with this implementation
the suspend function almost same as runtime suspend function. so remove
the suspend function, just use pm_runtime_force_suspend instead.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit f78c1564e501eaca142cd606df991abe92ff8461)
sound/soc/fsl/fsl_esai.c