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: Ieac57e169505d4455dde1dcd0e80e222e3e8eb1e Signed-off-by: Meng Wang <quic_mengw@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
ffbb0c4a5b
commit
0bd4c39e4e
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// 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>
|
#include <linux/regmap.h>
|
||||||
@@ -461,4 +461,5 @@ struct regmap_config wcd937x_regmap_config = {
|
|||||||
.writeable_reg = wcd937x_writeable_register,
|
.writeable_reg = wcd937x_writeable_register,
|
||||||
.volatile_reg = wcd937x_volatile_register,
|
.volatile_reg = wcd937x_volatile_register,
|
||||||
.can_multi_write = true,
|
.can_multi_write = true,
|
||||||
|
.use_single_read = true,
|
||||||
};
|
};
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// 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>
|
#include <linux/regmap.h>
|
||||||
@@ -512,4 +512,5 @@ struct regmap_config wcd938x_regmap_config = {
|
|||||||
.writeable_reg = wcd938x_writeable_register,
|
.writeable_reg = wcd938x_writeable_register,
|
||||||
.volatile_reg = wcd938x_volatile_register,
|
.volatile_reg = wcd938x_volatile_register,
|
||||||
.can_multi_write = true,
|
.can_multi_write = true,
|
||||||
|
.use_single_read = true,
|
||||||
};
|
};
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// 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>
|
#include <linux/regmap.h>
|
||||||
@@ -400,4 +400,5 @@ struct regmap_config wsa883x_regmap_config = {
|
|||||||
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
|
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||||
.val_format_endian = REGMAP_ENDIAN_NATIVE,
|
.val_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||||
.can_multi_write = true,
|
.can_multi_write = true,
|
||||||
|
.use_single_read = true,
|
||||||
};
|
};
|
||||||
|
@@ -541,4 +541,5 @@ struct regmap_config wsa884x_regmap_config = {
|
|||||||
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
|
.reg_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||||
.val_format_endian = REGMAP_ENDIAN_NATIVE,
|
.val_format_endian = REGMAP_ENDIAN_NATIVE,
|
||||||
.can_multi_write = true,
|
.can_multi_write = true,
|
||||||
|
.use_single_read = true,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user