ASoC: Intel: kbl: Add jack port initialize in kbl machine drivers
authorNaveen M <naveen.m@intel.com>
Fri, 25 Aug 2017 22:34:10 +0000 (04:04 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 29 Aug 2017 18:37:00 +0000 (19:37 +0100)
commit3a13347f05fdba9d889891245f154816197868f4
tree80a477ba326f0fc081d61eb3677bff77c01de284
parentc20252cf9230eb7abd8bce9fdb2ce9bdd6743689
ASoC: Intel: kbl: Add jack port initialize in kbl machine drivers

After the pcm jack is created, create and initialize the pin switch
widget for each port. For hdmi audio, invoke hdac_hdmi_jack_port_init
func() in rt5663_max98927 & rt5663_rt5514_max98927 to enable the pin,
when monitor is connected.

Signed-off-by: Naveen M <naveen.m@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c