.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * ad1980.c -- ALSA Soc AD1980 codec support |
---|
3 | 4 | * |
---|
4 | | - * Copyright: Analog Device Inc. |
---|
| 5 | + * Copyright: Analog Devices Inc. |
---|
5 | 6 | * Author: Roy Huang <roy.huang@analog.com> |
---|
6 | 7 | * Cliff Cai <cliff.cai@analog.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify it |
---|
9 | | - * under the terms of the GNU General Public License as published by the |
---|
10 | | - * Free Software Foundation; either version 2 of the License, or (at your |
---|
11 | | - * option) any later version. |
---|
12 | 8 | */ |
---|
13 | 9 | |
---|
14 | 10 | /* |
---|
.. | .. |
---|
260 | 256 | if (ret < 0) |
---|
261 | 257 | goto reset_err; |
---|
262 | 258 | |
---|
263 | | - vendor_id2 = snd_soc_component_read32(component, AC97_VENDOR_ID2); |
---|
| 259 | + vendor_id2 = snd_soc_component_read(component, AC97_VENDOR_ID2); |
---|
264 | 260 | if (vendor_id2 == 0x5374) { |
---|
265 | 261 | dev_warn(component->dev, |
---|
266 | 262 | "Found AD1981 - only 2/2 IN/OUT Channels supported\n"); |
---|
.. | .. |
---|
274 | 270 | snd_soc_component_write(component, AC97_SURROUND_MASTER, 0x0000); |
---|
275 | 271 | |
---|
276 | 272 | /*power on LFE/CENTER/Surround DACs*/ |
---|
277 | | - ext_status = snd_soc_component_read32(component, AC97_EXTENDED_STATUS); |
---|
| 273 | + ext_status = snd_soc_component_read(component, AC97_EXTENDED_STATUS); |
---|
278 | 274 | snd_soc_component_write(component, AC97_EXTENDED_STATUS, ext_status&~0x3800); |
---|
279 | 275 | |
---|
280 | 276 | return 0; |
---|