summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaiChieh Chuang <kaichieh.chuang@mediatek.com>2019-02-12 10:18:47 +0300
committerMark Brown <broonie@kernel.org>2019-02-12 17:12:59 +0300
commitfc23af99e47612042964ace44121872158ae834d (patch)
tree1ab0ff9d983b9d088668751d8ac8a8a0b55b4802
parente9418629e2fcf7374c19750f3afa7f3a7ff0afa2 (diff)
downloadlinux-fc23af99e47612042964ace44121872158ae834d.tar.xz
ASoC: mediatek: btcvsd fix rx stream assign
fix tx/rx stream assign wrong direction Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/mediatek/common/mtk-btcvsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mediatek/common/mtk-btcvsd.c b/sound/soc/mediatek/common/mtk-btcvsd.c
index 4b613d57e2d4..1b8bcdaf02d1 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;
}