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

Skip to content
Commit 6b3b58d9 authored by Jin Yao's avatar Jin Yao Committed by Mark Brown
Browse files

ASoC: Intel: move the jack creation to Braswell machine driver



The jack creation code was in rt5670 codec driver before due to the
jack resources (gpio/irq) were defined under the node of codec device
in ACPI on Braswell. We used the snd_soc_jack_new() to create a jack
instance.

But now snd_soc_jack_new() is removed from upstream and we can't
use snd_soc_card_jack_new() in codec driver, so we move the jack
creation code to machine driver and pass the jack instance to codec
driver for further processing.

Signed-off-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarJin Yao <yao.jin@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 066d7b87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment