ASoC: Intel: bytcr-rt5651: add support for Line In
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 5 Jan 2018 19:20:23 +0000 (13:20 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jan 2018 16:02:56 +0000 (16:02 +0000)
commitea39bdcf22b084c6e6db0078f3140f0655a1e572
tree172473727c12a75f16c032d5b96a7180c4e99c4b
parent416f2b51119b8cdd899b226e4cf683d000797a8b
ASoC: Intel: bytcr-rt5651: add support for Line In

Add the DAPM widgets and routes.

Tested with MinnowMax Turbot + rt5651 eval board with Speaker
(LineOut) -> LineIn loopback

Thanks to Bard Liao @ Realtek for providing the 0dB settings

"IN Capture Volume" = 23
"ADC Capture Volume" = 47
"OUT Playback Volume" = 31
"DAC1 Playback Volume" = 175

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c