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:
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

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