rt700.c (14cc5849120051caf537f663ec620910503bb719) rt700.c (011e397f5c9c96e533d4a244af84e74c9caefb83)
1// SPDX-License-Identifier: GPL-2.0
2//
3// rt700.c -- rt700 ALSA SoC audio driver
4//
5// Copyright(c) 2019 Realtek Semiconductor Corp.
6//
7//
8

--- 804 unchanged lines hidden (view full) ---

813 {"HP", NULL, "HPO Mux"},
814 {"SPK PGA", NULL, "DAC Front"},
815 {"SPK", NULL, "SPK PGA"},
816};
817
818static int rt700_probe(struct snd_soc_component *component)
819{
820 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component);
1// SPDX-License-Identifier: GPL-2.0
2//
3// rt700.c -- rt700 ALSA SoC audio driver
4//
5// Copyright(c) 2019 Realtek Semiconductor Corp.
6//
7//
8

--- 804 unchanged lines hidden (view full) ---

813 {"HP", NULL, "HPO Mux"},
814 {"SPK PGA", NULL, "DAC Front"},
815 {"SPK", NULL, "SPK PGA"},
816};
817
818static int rt700_probe(struct snd_soc_component *component)
819{
820 struct rt700_priv *rt700 = snd_soc_component_get_drvdata(component);
821 int ret;
821
822 rt700->component = component;
823
822
823 rt700->component = component;
824
825 ret = pm_runtime_resume(component->dev);
826 if (ret < 0 && ret != -EACCES)
827 return ret;
828
824 return 0;
825}
826
827static int rt700_set_bias_level(struct snd_soc_component *component,
828 enum snd_soc_bias_level level)
829{
830 struct snd_soc_dapm_context *dapm =
831 snd_soc_component_get_dapm(component);

--- 422 unchanged lines hidden ---
829 return 0;
830}
831
832static int rt700_set_bias_level(struct snd_soc_component *component,
833 enum snd_soc_bias_level level)
834{
835 struct snd_soc_dapm_context *dapm =
836 snd_soc_component_get_dapm(component);

--- 422 unchanged lines hidden ---