Unverified Commit 488b2ca5 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files
parent efffd9b3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -395,6 +395,12 @@ static inline bool snd_soc_component_is_active(
	return component->active != 0;
}

static inline unsigned int
snd_soc_component_active(struct snd_soc_component *component)
{
	return component->active;
}

/* component pin */
int snd_soc_component_enable_pin(struct snd_soc_component *component,
				 const char *pin);
+1 −0
Original line number Diff line number Diff line
@@ -393,6 +393,7 @@ void snd_soc_dai_action(struct snd_soc_dai *dai,
{
	dai->stream_active[stream]	+= action;
	dai->active			+= action;
	/* see snd_soc_component_active() */
	dai->component->active		+= action;
}
EXPORT_SYMBOL_GPL(snd_soc_dai_action);