Browse Source

Merge "asoc: wsa883x: Update OTP_REG_0 as volatile reg"

Linux Build Service Account 3 years ago
parent
commit
654666cdf2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      asoc/codecs/wsa883x/wsa883x-tables.c

+ 2 - 2
asoc/codecs/wsa883x/wsa883x-tables.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2015, 2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015, 2020-2021 The Linux Foundation. All rights reserved.
  */
 
 #include <linux/regmap.h>
@@ -256,7 +256,7 @@ const u8 wsa883x_reg_access[WSA883X_NUM_REGISTERS] = {
 	[WSA883X_REG(WSA883X_SPARE_1)] = RD_WR_REG,
 	[WSA883X_REG(WSA883X_SPARE_2)] = RD_WR_REG,
 	[WSA883X_REG(WSA883X_SCODE)] = RD_WR_REG,
-	[WSA883X_REG(WSA883X_OTP_REG_0)] = RD_WR_REG,
+	[WSA883X_REG(WSA883X_OTP_REG_0)] = RD_REG,
 	[WSA883X_REG(WSA883X_OTP_REG_1)] = RD_WR_REG,
 	[WSA883X_REG(WSA883X_OTP_REG_2)] = RD_WR_REG,
 	[WSA883X_REG(WSA883X_OTP_REG_3)] = RD_WR_REG,