ASoC: Intel: bxt: Add jack port initialize in bxt_rt298 machine
authorJeeja KP <jeeja.kp@intel.com>
Fri, 17 Feb 2017 09:34:46 +0000 (15:04 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 17 Feb 2017 11:24:13 +0000 (11:24 +0000)
commit7ba8ba3f4f9604ce776475e3b501e41c762af797
treee724ad9623019b1c4af697a661c24e67aeec8778
parente3efb2ad834b50cb9c8625155e3e2674f5bc443b
ASoC: Intel: bxt: Add jack port initialize in bxt_rt298 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bxt_rt298.c