| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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. |
|---|
| 7 | 4 | * |
|---|
| 8 | 5 | * Copyright (c) 2007-2009 Philipp Zabel <philipp.zabel@gmail.com> |
|---|
| 9 | 6 | * |
|---|
| .. | .. |
|---|
| 113 | 110 | /* the interpolator & decimator regs must only be written when the |
|---|
| 114 | 111 | * codec DAI is active. |
|---|
| 115 | 112 | */ |
|---|
| 116 | | - if (!snd_soc_component_is_active(component) && (reg >= UDA1380_MVOL)) |
|---|
| 113 | + if (!snd_soc_component_active(component) && (reg >= UDA1380_MVOL)) |
|---|
| 117 | 114 | return 0; |
|---|
| 118 | 115 | pr_debug("uda1380: hw write %x val %x\n", reg, value); |
|---|
| 119 | 116 | if (i2c_master_send(uda1380->i2c, data, 3) == 3) { |
|---|