| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * MFD driver for TWL6040 audio device |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Peter Ujfalusi <peter.ujfalusi@ti.com> |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Copyright: (C) 2011 Texas Instruments, Inc. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 12 | | - * published by the Free Software Foundation. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 15 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 17 | | - * General Public License for more details. |
|---|
| 18 | | - * |
|---|
| 19 | | - * You should have received a copy of the GNU General Public License |
|---|
| 20 | | - * along with this program; if not, write to the Free Software |
|---|
| 21 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
|---|
| 22 | | - * 02110-1301 USA |
|---|
| 23 | | - * |
|---|
| 24 | 10 | */ |
|---|
| 25 | 11 | |
|---|
| 26 | 12 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 624 | 610 | .writeable_reg = twl6040_writeable_reg, |
|---|
| 625 | 611 | |
|---|
| 626 | 612 | .cache_type = REGCACHE_RBTREE, |
|---|
| 627 | | - .use_single_rw = true, |
|---|
| 613 | + .use_single_read = true, |
|---|
| 614 | + .use_single_write = true, |
|---|
| 628 | 615 | }; |
|---|
| 629 | 616 | |
|---|
| 630 | 617 | static const struct regmap_irq twl6040_irqs[] = { |
|---|