ASoC: rt5663: Use the set_jack() instead of the export function
The patch replaces the export function with the new API set_jack(). Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
このコミットが含まれているのは:
@@ -299,7 +299,8 @@ static int kabylake_rt5663_codec_init(struct snd_soc_pcm_runtime *rtd)
|
||||
snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
|
||||
snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
|
||||
|
||||
rt5663_set_jack_detect(component, &ctx->kabylake_headset);
|
||||
snd_soc_component_set_jack(component, &ctx->kabylake_headset, NULL);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@@ -200,7 +200,7 @@ static int kabylake_rt5663_codec_init(struct snd_soc_pcm_runtime *rtd)
|
||||
snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP);
|
||||
snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN);
|
||||
|
||||
rt5663_set_jack_detect(component, &ctx->kabylake_headset);
|
||||
snd_soc_component_set_jack(component, &ctx->kabylake_headset, NULL);
|
||||
|
||||
ret = snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "DMIC");
|
||||
if (ret)
|
||||
|
新しいイシューから参照
ユーザーをブロックする