[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com>
Date: Mon, 30 Nov 2020 11:11:15 +0800
From: Lumi Lee <Lumi.Lee@...iatek.com>
To: Matthias Brugger <matthias.bgg@...il.com>,
Mark Brown <broonie@...nel.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<alsa-devel@...a-project.org>, <wsd_upstream@...iatek.com>,
<jiaxin.yu@...iatek.com>, <eason.yen@...iatek.com>,
<Shane.Chien@...iatek.com>, Lumi Lee <lumi.lee@...iatek.com>
Subject: [PATCH] ASoC: mediatek: btcvsd fix tx stream assign
From: Lumi Lee <lumi.lee@...iatek.com>
Fix tx/rx stream assign in write.
Write should use tx instead of rx.
Signed-off-by: Lumi Lee <lumi.lee@...iatek.com>
---
sound/soc/mediatek/common/mtk-btcvsd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/mediatek/common/mtk-btcvsd.c b/sound/soc/mediatek/common/mtk-btcvsd.c
index 668fef3..a554c57 100644
--- a/sound/soc/mediatek/common/mtk-btcvsd.c
+++ b/sound/soc/mediatek/common/mtk-btcvsd.c
@@ -808,7 +808,7 @@ static ssize_t mtk_btcvsd_snd_write(struct mtk_btcvsd_snd *bt,
spin_unlock_irqrestore(&bt->tx_lock, flags);
if (!avail) {
- int ret = wait_for_bt_irq(bt, bt->rx);
+ int ret = wait_for_bt_irq(bt, bt->tx);
if (ret)
return written_size;
--
1.7.9.5
Powered by blists - more mailing lists