hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/cs35l33.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * cs35l33.c -- CS35L33 ALSA SoC audio driver
34 *
45 * Copyright 2016 Cirrus Logic, Inc.
56 *
67 * Author: Paul Handrigan <paul.handrigan@cirrus.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
11
- *
128 */
139 #include <linux/module.h>
1410 #include <linux/moduleparam.h>
....@@ -857,7 +853,8 @@
857853 .readable_reg = cs35l33_readable_register,
858854 .writeable_reg = cs35l33_writeable_register,
859855 .cache_type = REGCACHE_RBTREE,
860
- .use_single_rw = true,
856
+ .use_single_read = true,
857
+ .use_single_write = true,
861858 };
862859
863860 static int __maybe_unused cs35l33_runtime_resume(struct device *dev)