[alsa-devel] [PATCH] ASoC: mediatek: btcvsd fix rx stream assign
KaiChieh Chuang
kaichieh.chuang at mediatek.com
Tue Feb 12 08:18:47 CET 2019
fix tx/rx stream assign wrong direction
Signed-off-by: KaiChieh Chuang <kaichieh.chuang at 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 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;
}
--
1.9.1
More information about the Alsa-devel
mailing list