hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/sound/soc/codecs/uda1380.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * uda1380.c - Philips UDA1380 ALSA SoC audio driver
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 *
85 * Copyright (c) 2007-2009 Philipp Zabel <philipp.zabel@gmail.com>
96 *
....@@ -113,7 +110,7 @@
113110 /* the interpolator & decimator regs must only be written when the
114111 * codec DAI is active.
115112 */
116
- if (!snd_soc_component_is_active(component) && (reg >= UDA1380_MVOL))
113
+ if (!snd_soc_component_active(component) && (reg >= UDA1380_MVOL))
117114 return 0;
118115 pr_debug("uda1380: hw write %x val %x\n", reg, value);
119116 if (i2c_master_send(uda1380->i2c, data, 3) == 3) {