FROMLIST: ASoC: Intel: Boards: move the codec PLL configuration to _init

move the codec PLL to rt5682_codec_init, because codec only need to config
the clock source/PLL once. As the result, remove the platform_clock_controls
since no need to control clock anymore.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Mac Chiang <mac.chiang@intel.com>

(am from https://patchwork.kernel.org/patch/10714221/)

the headphone codec clock rate is turned off in runtime suspend. So playback/
capture sampling is abnormal that results in noise playing/record by headphone.

BUG=b:118841107
TEST= playing music via Headphone without noise
      voice recording via headset mic without noise

Change-Id: I10098f433382d7ca096c6a61d9d96b5259af6309
Reviewed-on: https://chromium-review.googlesource.com/1316472
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Mac Chiang <mac.chiang@intel.com>
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
(cherry picked from commit 388f08bf746229d3a94a73cb3b0ec0c8675e4915)
Reviewed-on: https://chromium-review.googlesource.com/c/1380293
Commit-Queue: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Trybot-Ready: Justin TerAvest <teravest@chromium.org>
1 file changed