Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cbe5826 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: core: call digital mute ops for capture use case" into msm-4.8

parents fbce5c6d 4c15a7ab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2594,8 +2594,7 @@ int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute,

	if (dai->driver->ops->mute_stream)
		return dai->driver->ops->mute_stream(dai, mute, direction);
	else if (direction == SNDRV_PCM_STREAM_PLAYBACK &&
		 dai->driver->ops->digital_mute)
	else if (dai->driver->ops->digital_mute)
		return dai->driver->ops->digital_mute(dai, mute);
	else
		return -ENOTSUPP;