ASoC: audio-graph-card: tidyup mclk-fs method
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 14 Dec 2018 02:32:30 +0000 (11:32 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 14 Dec 2018 11:47:19 +0000 (11:47 +0000)
commit56eb818191fbe4b93bbe6e884f96061013c9a6ab
tree04861bd41c70e1e7ae007d19c1edde9e4e1bd9f9
parentae3cb5790906b5caf519f6f21792c30fb5ddf8db
ASoC: audio-graph-card: tidyup mclk-fs method

Current audio-graph-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 {
mclk-fs = <xxx>; // initial
};

codec {
ports {
mclk-fs = <xxx>; // overwrite
port {
mclk-fs = <xxx>; // overwrite
endpoint {
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/audio-graph-card.c