asoc: wsa8840: mark the OTP_0 register as RD register
mark OTP_0 register as read register instead of read and write. Change-Id: I666c388ba10cd00daf8ac902e0b05177503b1e26 Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
This commit is contained in:

کامیت شده توسط
Sarath Varma Ganapathiraju

والد
3737f300d4
کامیت
707adbd5c8
@@ -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,
|
||||
|
مرجع در شماره جدید
Block a user