.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * wm8804.c -- WM8804 S/PDIF transceiver driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2010-11 Wolfson Microelectronics plc |
---|
5 | 6 | * |
---|
6 | 7 | * Author: Dimitris Papastamos <dp@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> |
---|
.. | .. |
---|
175 | 172 | |
---|
176 | 173 | if (snd_soc_component_test_bits(component, e->reg, mask, val)) { |
---|
177 | 174 | /* save the current power state of the transmitter */ |
---|
178 | | - txpwr = snd_soc_component_read32(component, WM8804_PWRDN) & 0x4; |
---|
| 175 | + txpwr = snd_soc_component_read(component, WM8804_PWRDN) & 0x4; |
---|
179 | 176 | |
---|
180 | 177 | /* power down the transmitter */ |
---|
181 | 178 | snd_soc_component_update_bits(component, WM8804_PWRDN, 0x4, 0x4); |
---|