forked from Minki/linux
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>
This commit is contained in:
parent
e9418629e2
commit
fc23af99e4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user