diff options
author | KaiChieh Chuang <kaichieh.chuang@mediatek.com> | 2019-04-26 04:09:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-26 11:48:37 +0200 |
commit | 780f202f2bf48aaa09282efc4dd6c39a146cc1f3 (patch) | |
tree | 2d6d1da01f570a3391f6a9db9589f4e87f547966 | |
parent | ASoC: codecs: rt5682: initialize mutex before using (diff) | |
download | linux-780f202f2bf48aaa09282efc4dd6c39a146cc1f3.tar.xz linux-780f202f2bf48aaa09282efc4dd6c39a146cc1f3.zip |
ASoC: mediatek: btcvsd fix irq mask
disable = 1
enable = 0
prevent AP wake up, when not AP BTSCO scenario
Signed-off-by: KaiChieh Chuang <kaichieh.chuang@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/mediatek/common/mtk-btcvsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/mediatek/common/mtk-btcvsd.c b/sound/soc/mediatek/common/mtk-btcvsd.c index 9a163d7064d1..bd55c546e790 100644 --- a/sound/soc/mediatek/common/mtk-btcvsd.c +++ b/sound/soc/mediatek/common/mtk-btcvsd.c @@ -193,13 +193,13 @@ static const u8 table_msbc_silence[SCO_PACKET_180] = { static void mtk_btcvsd_snd_irq_enable(struct mtk_btcvsd_snd *bt) { regmap_update_bits(bt->infra, bt->infra_misc_offset, - bt->conn_bt_cvsd_mask, bt->conn_bt_cvsd_mask); + bt->conn_bt_cvsd_mask, 0); } static void mtk_btcvsd_snd_irq_disable(struct mtk_btcvsd_snd *bt) { regmap_update_bits(bt->infra, bt->infra_misc_offset, - bt->conn_bt_cvsd_mask, 0); + bt->conn_bt_cvsd_mask, bt->conn_bt_cvsd_mask); } static void mtk_btcvsd_snd_set_state(struct mtk_btcvsd_snd *bt, |