]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: tidyup mclk-fs method
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 14 Dec 2018 02:35:15 +0000 (11:35 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 14 Dec 2018 11:48:27 +0000 (11:48 +0000)
commit60cfb5d88a27f88882067edc3550547d13496526
tree286bfdecc6ce6c5883180b98fd5033738b43ba66
parent8ed00e5e8316e93977325306d014a8b217d53553
ASoC: simple-card: tidyup mclk-fs method

Current simple-card is handling "mclk-fs" by many way.
But, it is not useful and readable.
We want to do is that allow having mclk-fs everywere.
This patch support it.
It will be overwrote if lower node has it.

sound {
simple-audio-card,mclk-fs = <xxx>; // for initial

simple-audio-card,dai-link {
mclk-fs = <xxx>; // overwrite
cpu {
mclk-fs = <xxx>; // overwrite
};
codec {
mclk-fs = <xxx>; // overwrite
};
};
};

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c