mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
asoc: codec: enable use_single_read for wsa and wcd regmap
When interrupts are triggered on the second or third interrupt status register, current logic cannot clear that interrupt status after handling it. Enable use_single_read for wsa and wcd regmap to resolve the issue. Change-Id: I31b301e70fc51c86302f80baeec82c865e9a25cd Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
This commit is contained in:
parent
16913453bd
commit
4506302e7d
3 changed files with 6 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019, 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/regmap.h>
|
||||
|
|
@ -461,4 +461,5 @@ struct regmap_config wcd937x_regmap_config = {
|
|||
.writeable_reg = wcd937x_writeable_register,
|
||||
.volatile_reg = wcd937x_volatile_register,
|
||||
.can_multi_write = true,
|
||||
.use_single_read = true,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019, 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/regmap.h>
|
||||
|
|
@ -512,4 +512,5 @@ struct regmap_config wcd938x_regmap_config = {
|
|||
.writeable_reg = wcd938x_writeable_register,
|
||||
.volatile_reg = wcd938x_volatile_register,
|
||||
.can_multi_write = true,
|
||||
.use_single_read = true,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2016, 2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2016, 2019, 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/regmap.h>
|
||||
|
|
@ -400,4 +400,5 @@ struct regmap_config wsa883x_regmap_config = {
|
|||
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||
.val_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||
.can_multi_write = true,
|
||||
.use_single_read = true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue