ASoC: Intel: bxt: Add jack port initialize in da7219_max98357a machine
authorJeeja KP <jeeja.kp@intel.com>
Tue, 7 Feb 2017 13:40:00 +0000 (19:10 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:57:15 +0000 (18:57 +0000)
commitc5cf9f37a0fb6e50d68f6dcf58b93b2c47c780a1
tree87cffd43e497cae6c666299e7e0dfd23af9118b5
parent86b5703158ff39e5efe9480784a7cad1b4baef59
ASoC: Intel: bxt: Add jack port initialize in da7219_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/bxt_da7219_max98357a.c