| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cs43130.c -- CS43130 ALSA Soc Audio driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2017 Cirrus Logic, Inc. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #include <linux/module.h> |
|---|
| 13 | 10 | #include <linux/moduleparam.h> |
|---|
| .. | .. |
|---|
| 2362 | 2359 | .precious_reg = cs43130_precious_register, |
|---|
| 2363 | 2360 | .volatile_reg = cs43130_volatile_register, |
|---|
| 2364 | 2361 | .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, |
|---|
| 2366 | 2365 | }; |
|---|
| 2367 | 2366 | |
|---|
| 2368 | 2367 | static u16 const cs43130_dc_threshold[CS43130_DC_THRESHOLD] = { |
|---|