hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/cs43130.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * cs43130.c -- CS43130 ALSA Soc Audio driver
34 *
45 * Copyright 2017 Cirrus Logic, Inc.
56 *
67 * Authors: Li Xu <li.xu@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.
118 */
129 #include <linux/module.h>
1310 #include <linux/moduleparam.h>
....@@ -2362,7 +2359,9 @@
23622359 .precious_reg = cs43130_precious_register,
23632360 .volatile_reg = cs43130_volatile_register,
23642361 .cache_type = REGCACHE_RBTREE,
2365
- .use_single_rw = true, /* needed for regcache_sync */
2362
+ /* needed for regcache_sync */
2363
+ .use_single_read = true,
2364
+ .use_single_write = true,
23662365 };
23672366
23682367 static u16 const cs43130_dc_threshold[CS43130_DC_THRESHOLD] = {