]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Use recommended SDxFMT programming sequence
authorPaweł Harłoziński <pawel.harlozinski@intel.com>
Thu, 13 Jun 2019 19:04:31 +0000 (21:04 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jun 2019 14:32:36 +0000 (15:32 +0100)
commitd0bf5065f01f4e8853d6be1cf52ef289e3590c02
tree7dc0d24716aed2b77ace175391921c81d8a4242a
parent55115414a34a59ab34932d074545044bc1374d14
ASoC: Intel: Skylake: Use recommended SDxFMT programming sequence

For BXT platforms, the recommended sequence to program the SDxFMT is to
first couple the stream, write the format and decouple again.
For all other platforms said sequence remains unchanged.

To prevent code duplication, IS_BXT (and consequently IS_CFL) macro is
relocated to hda_codec.h file so it can be accessed by SKL driver.

Signed-off-by: Paweł Harłoziński <pawel.harlozinski@intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hda_codec.h
sound/pci/hda/hda_intel.c
sound/soc/intel/skylake/skl-pcm.c