From: Lumi Lee <Lumi.Lee@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: <linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<devicetree@vger.kernel.org>, <alsa-devel@alsa-project.org>,
<wsd_upstream@mediatek.com>, <jiaxin.yu@mediatek.com>,
<eason.yen@mediatek.com>, <Shane.Chien@mediatek.com>,
Lumi Lee <lumi.lee@mediatek.com>
Subject: [PATCH] ASoC: mediatek: btcvsd fix tx stream assign
Date: Mon, 30 Nov 2020 11:11:15 +0800 [thread overview]
Message-ID: <1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com> (raw)
From: Lumi Lee <lumi.lee@mediatek.com>
Fix tx/rx stream assign in write.
Write should use tx instead of rx.
Signed-off-by: Lumi Lee <lumi.lee@mediatek.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
WARNING: multiple messages have this Message-ID (diff)
From: Lumi Lee <Lumi.Lee@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org,
jiaxin.yu@mediatek.com, Lumi Lee <lumi.lee@mediatek.com>,
Shane.Chien@mediatek.com, linux-mediatek@lists.infradead.org,
eason.yen@mediatek.com
Subject: [PATCH] ASoC: mediatek: btcvsd fix tx stream assign
Date: Mon, 30 Nov 2020 11:11:15 +0800 [thread overview]
Message-ID: <1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com> (raw)
From: Lumi Lee <lumi.lee@mediatek.com>
Fix tx/rx stream assign in write.
Write should use tx instead of rx.
Signed-off-by: Lumi Lee <lumi.lee@mediatek.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
WARNING: multiple messages have this Message-ID (diff)
From: Lumi Lee <Lumi.Lee@mediatek.com>
To: Matthias Brugger <matthias.bgg@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
wsd_upstream@mediatek.com, linux-kernel@vger.kernel.org,
jiaxin.yu@mediatek.com, Lumi Lee <lumi.lee@mediatek.com>,
Shane.Chien@mediatek.com, linux-mediatek@lists.infradead.org,
eason.yen@mediatek.com
Subject: [PATCH] ASoC: mediatek: btcvsd fix tx stream assign
Date: Mon, 30 Nov 2020 11:11:15 +0800 [thread overview]
Message-ID: <1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com> (raw)
From: Lumi Lee <lumi.lee@mediatek.com>
Fix tx/rx stream assign in write.
Write should use tx instead of rx.
Signed-off-by: Lumi Lee <lumi.lee@mediatek.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
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
next reply other threads:[~2020-11-30 3:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-30 3:11 Lumi Lee [this message]
2020-11-30 3:11 ` [PATCH] ASoC: mediatek: btcvsd fix tx stream assign Lumi Lee
2020-11-30 3:11 ` Lumi Lee
2020-11-30 16:55 ` Mark Brown
2020-11-30 16:55 ` Mark Brown
2020-11-30 16:55 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1606705875-1940-1-git-send-email-Lumi.Lee@mediatek.com \
--to=lumi.lee@mediatek.com \
--cc=Shane.Chien@mediatek.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eason.yen@mediatek.com \
--cc=jiaxin.yu@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=wsd_upstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.