ASoC: codec cx2072x will only use mclk 12.288M
authorzhangjun <zhangjun@rock-chips.com>
Tue, 17 Jan 2017 07:53:40 +0000 (15:53 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 18 Jan 2017 06:20:42 +0000 (14:20 +0800)
commit756733c3abfbd21698f37d1254a4fb1fe3cfcfcf
tree17f17f8200fe42b3bb0340614edfebc3df2ad4d1
parent9d46acb99395e0a5799a4bfa759cb2b29ca46309
ASoC: codec cx2072x will only use mclk 12.288M

1. due to cx2072x only support playback samplerate 48K
2. set_clk_rate called from codec side will make the clock
   tree correct, otherwise mclk will be closed from
   i2s_runtime_suspend unexpected

Change-Id: Iaa748bb27635e21f7c2d2997823228cdf7308fe8
Signed-off-by: zhangjun <zhangjun@rock-chips.com>
sound/soc/codecs/cx2072x.c
sound/soc/codecs/cx2072x.h