Skip to contentSkip to conversation

ASoC: mediatek: btcvsd fix tx stream assign

PATCH In review Lumi Lee 2 participants 2 messages Nov 30, 2020

Subsystems (3)
lore
Share & tools
lore

Lumi Lee

author
#0 lore raw

PATCH 1/1 ASoC: mediatek: btcvsd fix tx stream assign

From: Lumi Lee <[email protected]>

Fix tx/rx stream assign in write.
Write should use tx instead of rx.

---
 sound/soc/mediatek/common/mtk-btcvsd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/mediatek/common/mtk-btcvsd.c +1 -1
index 668fef3..a554c57 100644
@@ -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;
Signature · 5 lines
1.7.9.5
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
maintainer
#1 lore raw
Quoted 2 lines · Lumi Lee

Fix tx/rx stream assign in write.
Write should use tx instead of rx.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: mediatek: btcvsd fix tx stream assign

      commit: bbe1f69dce94089943cc407a88325ae7e851d49c

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek