hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/wm2200.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * wm2200.c -- WM2200 ALSA SoC Audio driver
34 *
45 * Copyright 2012 Wolfson Microelectronics plc
56 *
67 * 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.
118 */
129
1310 #include <linux/module.h>
....@@ -2030,7 +2027,7 @@
20302027 msleep(1);
20312028 }
20322029
2033
- ret = snd_soc_component_read32(component,
2030
+ ret = snd_soc_component_read(component,
20342031 WM2200_INTERRUPT_RAW_STATUS_2);
20352032 if (ret < 0) {
20362033 dev_err(component->dev,
....@@ -2063,7 +2060,7 @@
20632060 unsigned int val = 0;
20642061 int ret;
20652062
2066
- ret = snd_soc_component_read32(component, WM2200_GPIO_CTRL_1);
2063
+ ret = snd_soc_component_read(component, WM2200_GPIO_CTRL_1);
20672064 if (ret >= 0) {
20682065 if ((ret & WM2200_GP1_FN_MASK) != 0) {
20692066 wm2200->symmetric_rates = true;