]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: audio-graph-card2.c: use of_property_read_u32() for rate
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 1 Jul 2022 05:18:14 +0000 (05:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2022 10:51:41 +0000 (11:51 +0100)
commitb31b5f96342d0a668c49890b6acb8ddc9dd03285
tree426e7a5fa43d54edcb77a5a3a9c4cc6a5022e008
parenta5a25f4bfd049e2caa26fcc01c6cd01f35296de1
ASoC: audio-graph-card2.c: use of_property_read_u32() for rate

Audio Graph Card2 is using of_get_property(), but it should use
of_property_read_u32() to getting rate. Otherwise the setting will be
strange value. This patch fixup it.

Fixes: e96204c56e4c507 ("ASoC: audio-graph-card2: add Codec2Codec support")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h741s961.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card2.c