ASoC: Intel: use standard interface for Hdaudio machine driver
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 1 Nov 2018 21:34:49 +0000 (16:34 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 6 Nov 2018 17:23:50 +0000 (17:23 +0000)
commit842bb5135f1016151235413726e4956210a79664
treeb3e5656cd78f9042b19b89fb1b4857aef65ed626
parent8679284b37e9e2d529d60d1acc4133af4aa5dd34
ASoC: Intel: use standard interface for Hdaudio machine driver

Don't rely on internal Skylake-specific data structures, use
generic interface to let other drivers use the same machine driver
as is, e.g. SOF to support HDaudio codecs and HDMI outputs.

Tested on LeafHill CRB board, no regression seen with this change.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/skl_hda_dsp_generic.c
sound/soc/intel/skylake/skl.c