diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-12-30 14:35:16 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-31 00:21:36 +0000 |
commit | 1094af1199007976370b8f04b4d6668ad9707954 (patch) | |
tree | 3ef914574fa464834d69eab621a448f053a0b355 /sound/soc/codecs/madera.h | |
parent | 9ea7a991cc27e9af1099b7a628c0ab210dc70a69 (diff) |
ASoC: madera: Enable clocks for input pins when used as a direct clock
When one of the MCLK pins is used to supply an internal clock directly
enable the source clock for that pin.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20191230143517.21005-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/madera.h')
-rw-r--r-- | sound/soc/codecs/madera.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/madera.h b/sound/soc/codecs/madera.h index 6d8938a3fb64..49a8f68ec43d 100644 --- a/sound/soc/codecs/madera.h +++ b/sound/soc/codecs/madera.h @@ -383,6 +383,8 @@ int madera_eq_coeff_put(struct snd_kcontrol *kcontrol, int madera_lhpf_coeff_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); +int madera_clk_ev(struct snd_soc_dapm_widget *w, + struct snd_kcontrol *kcontrol, int event); int madera_sysclk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_spk_ev(struct snd_soc_dapm_widget *w, |