diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-07-08 05:46:46 +0300 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-07-08 11:49:52 +0300 | 
| commit | 67bdd67aedcec8c63e3158c3c82991fbde0c4d22 (patch) | |
| tree | fd5e7604b762bf9dd2c73211d9ea708132b0b691 /rust/helpers/slab.c | |
| parent | a3c3e84fc495dd983374f041e145e13df3525a15 (diff) | |
| download | linux-67bdd67aedcec8c63e3158c3c82991fbde0c4d22.tar.xz | |
ASoC: rt715: don't set dapm->bias_level
snd_soc_component_set_bias_level() (A) which will call .set_bias_level()
callback (B) will be called from snd_soc_dapm_force_bias_level() (C) only,
and it sets dapm->bias_level (D) inside. No need to set it by each driver.
Remove it.
(A)	int snd_soc_component_set_bias_level(...)
	{
		...
		if (component->driver->set_bias_level)
(B)			ret = component->driver->set_bias_level(...);
		...
	}
(C)	int snd_soc_dapm_force_bias_level(...)
	{
		...
		if (dapm->component)
(A)			ret = snd_soc_component_set_bias_level(...);
		if (ret == 0)
(D)			dapm->bias_level = level;
		...
	}
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87plebmmax.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/slab.c')
0 files changed, 0 insertions, 0 deletions
