ASoC: Intel: Skylake: Add jack port initialize in nau88l25_max98357a machine
authorJeeja KP <jeeja.kp@intel.com>
Tue, 7 Feb 2017 13:39:57 +0000 (19:09 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:56:15 +0000 (18:56 +0000)
commit565f13a95ec3d541324e80657bd512a19df8e576
treeb9cb362f676a2aa3f4fe473c47e21a06313faf65
parent64f8620d482d38ed093eca78d8ca9b1bb64a6172
ASoC: Intel: Skylake: Add jack port initialize in nau88l25_max98357a machine

After the pcm jack is created, create and initialize the pin switch
widget for each port. Pin switch is to enable/disable the pin when
monitor is connected/disconnected.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_nau88l25_max98357a.c