ASoC: Intel: KMB: Enable DMA transfer mode
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Fri, 8 Jan 2021 03:12:48 +0000 (11:12 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jan 2021 18:23:41 +0000 (18:23 +0000)
commit11b943c06a1c1baafb0325896e666d77f5ac78b8
tree431293ca4daa7059ab2fb5525f87364b90a88b10
parent31c51a424f5163ee6f14fcc251f81078457123e1
ASoC: Intel: KMB: Enable DMA transfer mode

Enable DMA transfer mode for Intel Keem Bay ASoC platform driver.

The driver will search the device tree for DMA resources at boot
time to enable DMA transfer mode, and will proceed to use DMA
transfer if the resource is available, otherwise the default PIO
mode will be used.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210108031248.20520-6-michael.wei.hong.sit@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig
sound/soc/intel/keembay/kmb_platform.c
sound/soc/intel/keembay/kmb_platform.h