From c05d6282eb96ea162305d76465294c769572d0ec Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Thu, 23 Sep 2021 19:47:33 +0800 Subject: [PATCH] Revert "ASoC: rockchip: rk817-codec: add support recover playback/capture path after resume" This reverts commit 20d8a7925f1507dde173d002eac7060c422c3448. Generally, we cannot guarantee that the paths of capture and playback need to be turned on by default after resume, which can be manually controlled by the user layer. In this way, the problem of asymmetrical clock operation can also be corrected after resume. Signed-off-by: Xing Zheng Change-Id: I1cb7b364313a7573032851fe0c2970cf1a078b0a --- sound/soc/codecs/rk817_codec.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/rk817_codec.c b/sound/soc/codecs/rk817_codec.c index 083113278e25..4ed82d328704 100644 --- a/sound/soc/codecs/rk817_codec.c +++ b/sound/soc/codecs/rk817_codec.c @@ -1083,10 +1083,6 @@ static int rk817_suspend(struct snd_soc_component *component) static int rk817_resume(struct snd_soc_component *component) { - struct rk817_codec_priv *rk817 = snd_soc_component_get_drvdata(component); - - rk817_capture_path_config(component, OFF, rk817->capture_path); - rk817_playback_path_config(component, OFF, rk817->playback_path); return 0; }