.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * wm2200.c -- WM2200 ALSA SoC Audio driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2012 Wolfson Microelectronics plc |
---|
5 | 6 | * |
---|
6 | 7 | * Author: Mark Brown <broonie@opensource.wolfsonmicro.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 | |
---|
13 | 10 | #include <linux/module.h> |
---|
.. | .. |
---|
2030 | 2027 | msleep(1); |
---|
2031 | 2028 | } |
---|
2032 | 2029 | |
---|
2033 | | - ret = snd_soc_component_read32(component, |
---|
| 2030 | + ret = snd_soc_component_read(component, |
---|
2034 | 2031 | WM2200_INTERRUPT_RAW_STATUS_2); |
---|
2035 | 2032 | if (ret < 0) { |
---|
2036 | 2033 | dev_err(component->dev, |
---|
.. | .. |
---|
2063 | 2060 | unsigned int val = 0; |
---|
2064 | 2061 | int ret; |
---|
2065 | 2062 | |
---|
2066 | | - ret = snd_soc_component_read32(component, WM2200_GPIO_CTRL_1); |
---|
| 2063 | + ret = snd_soc_component_read(component, WM2200_GPIO_CTRL_1); |
---|
2067 | 2064 | if (ret >= 0) { |
---|
2068 | 2065 | if ((ret & WM2200_GP1_FN_MASK) != 0) { |
---|
2069 | 2066 | wm2200->symmetric_rates = true; |
---|