]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: renesas: msiof: msiof_update_and_wait() checks whether reg was updated
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 28 Aug 2025 02:21:46 +0000 (02:21 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 28 Aug 2025 09:08:25 +0000 (11:08 +0200)
commit042e57d59b3e7f44014da23e62911ae9b591953a
treea5d7953f10eb06be7c6a7c8b3e39a33f6b5ef45e
parent1b237f190eb3d36f52dffe07a40b5eb210280e00
ASoC: renesas: msiof: msiof_update_and_wait() checks whether reg was updated

msiof_update_and_wait() updates reg and waits until the value was updated.
But, if the set value was same as current reg value, no update will be
happen. Check the value, and ignore waiting if no update.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Message-ID: <87h5xsuqx2.wl-kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/renesas/rcar/msiof.c