]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASOC: rockchip: fix capture stream handling in rockchip_sai_xfer_stop
authorPei Xiao <xiaopei01@kylinos.cn>
Fri, 6 Jun 2025 09:18:21 +0000 (17:18 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:34:23 +0000 (23:34 +0100)
commit5dc302d00807b8916992dd25a7a22b78d07dcd03
tree7880c51be4810e7be4774284de5210d793c8293e
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
ASOC: rockchip: fix capture stream handling in rockchip_sai_xfer_stop

Correcting the capture stream handling which was incorrectly setting
playback=true for capture streams.

The original code mistakenly set playback=true for capture streams,
causing incorrect behavior.

Fixes: cc78d1eaabad ("ASoC: rockchip: add Serial Audio Interface (SAI) driver")
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Tested-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Acked-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://patch.msgid.link/c374aae92c177aaf42c0f1371eccdbc7e9615786.1749201126.git.xiaopei01@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_sai.c