diff mbox series

ASoC: mediatek: btcvsd fix rx stream assign

Message ID 1549955927-18364-1-git-send-email-kaichieh.chuang@mediatek.com (mailing list archive)
State New, archived
Headers show
Series ASoC: mediatek: btcvsd fix rx stream assign | expand

Commit Message

KaiChieh Chuang Feb. 12, 2019, 7:18 a.m. UTC
fix tx/rx stream assign wrong direction

Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
---
 sound/soc/mediatek/common/mtk-btcvsd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/mediatek/common/mtk-btcvsd.c b/sound/soc/mediatek/common/mtk-btcvsd.c
index 4b613d5..1b8bcdaf 100644
--- a/sound/soc/mediatek/common/mtk-btcvsd.c
+++ b/sound/soc/mediatek/common/mtk-btcvsd.c
@@ -250,7 +250,7 @@  static int mtk_btcvsd_snd_rx_init(struct mtk_btcvsd_snd *bt)
 	bt->rx->buf_size = BTCVSD_RX_BUF_SIZE;
 	bt->rx->timeout = 0;
 	bt->rx->rw_cnt = 0;
-	bt->tx->stream = SNDRV_PCM_STREAM_CAPTURE;
+	bt->rx->stream = SNDRV_PCM_STREAM_CAPTURE;
 	return 0;
 }