]> 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)
commit5ab41a675e35a6a30008a90ea9c0a09bedb88e2e
tree426e7a5fa43d54edcb77a5a3a9c4cc6a5022e008
parent35131842eb82d17d7051275d013627aaf790be1e
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: 0463aba6ea1dc46 ("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