diff options
author | KaiChieh Chuang <kaichieh.chuang@mediatek.com> | 2019-02-12 10:18:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-12 17:12:59 +0300 |
commit | fc23af99e47612042964ace44121872158ae834d (patch) | |
tree | 1ab0ff9d983b9d088668751d8ac8a8a0b55b4802 | |
parent | e9418629e2fcf7374c19750f3afa7f3a7ff0afa2 (diff) | |
download | linux-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.c | 2 |
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; } |