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)
commit817a62108dfacebd548e38451bf0e7eee023e97f
tree426e7a5fa43d54edcb77a5a3a9c4cc6a5022e008
parent050237e6b0bea0fafbf7d3d57e717c6fa1e4e819
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: c3a15c92a67b701 ("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