Commit fc23af99 authored by KaiChieh Chuang's avatar KaiChieh Chuang Committed by Mark Brown

ASoC: mediatek: btcvsd fix rx stream assign

fix tx/rx stream assign wrong direction
Signed-off-by: default avatarKaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e9418629
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment