Merge "asoc: wsa8840: mark the OTP_0 register as RD register"

This commit is contained in:
qctecmdr
2024-03-21 10:18:19 -07:00
committato da Gerrit - the friendly Code Review server

Vedi File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <linux/regmap.h>
@@ -390,7 +391,7 @@ const u8 wsa884x_reg_access[WSA884X_NUM_REGISTERS] = {
[WSA884X_REG(WSA884X_SPARE_2)] = RD_WR_REG,
[WSA884X_REG(WSA884X_SCODE)] = RD_WR_REG,
[WSA884X_REG(WSA884X_DIG_TRIM_PAGE)] = RD_WR_REG,
[WSA884X_REG(WSA884X_OTP_REG_0)] = RD_WR_REG,
[WSA884X_REG(WSA884X_OTP_REG_0)] = RD_REG,
[WSA884X_REG(WSA884X_OTP_REG_1)] = RD_WR_REG,
[WSA884X_REG(WSA884X_OTP_REG_2)] = RD_WR_REG,
[WSA884X_REG(WSA884X_OTP_REG_3)] = RD_WR_REG,