1
0
Fork 0

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>
hifive-unleashed-5.1
KaiChieh Chuang 2019-02-12 15:18:47 +08:00 committed by Mark Brown
parent e9418629e2
commit fc23af99e4
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}