projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4cb89
)
ASoC: mediatek: btcvsd fix tx stream assign
author
Lumi Lee
<lumi.lee@mediatek.com>
Mon, 30 Nov 2020 03:11:15 +0000
(11:11 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 30 Nov 2020 12:52:48 +0000
(12:52 +0000)
Fix tx/rx stream assign in write.
Write should use tx instead of rx.
Signed-off-by: Lumi Lee <lumi.lee@mediatek.com>
Link:
https://lore.kernel.org/r/1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/common/mtk-btcvsd.c
patch
|
blob
|
history
diff --git
a/sound/soc/mediatek/common/mtk-btcvsd.c
b/sound/soc/mediatek/common/mtk-btcvsd.c
index
668fef3
..
a554c57
100644
(file)
--- 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->
r
x);
+ int ret = wait_for_bt_irq(bt, bt->
t
x);
if (ret)
return written_size;