]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Intel: sst: only select sst-firmware when DW DMAC is built-in
authorJie Yang <yang.jie@intel.com>
Tue, 24 Nov 2015 14:01:21 +0000 (22:01 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 25 Nov 2015 11:57:05 +0000 (11:57 +0000)
commita92ea59b74e231cc0a969afa8d71fa314d5860f2
tree8832aa7a10c7a0b3993f3187ace55b5d1f5ea2cd
parent9049a48a33f7e03b69589a5fbb1444cc606d3292
ASoC: Intel: sst: only select sst-firmware when DW DMAC is built-in

The previous commit ef3e199a49c8 ("ASoC: Intel: sst: only use
sst-firmware when DW DMAC is available") does not fix the 0day
building errors thoroughly:

   sound/built-in.o: In function 'dw_dma_remove'
   sound/built-in.o: In function 'dw_dma_probe'

Here we fallback to select sst-firmware only when DW DMAC
is built-in selected. We may need to refactor sst common
driver and split DW related codes to platform driver, but
ATM, this fallback may be the smallest fix.

Please be noticed that after applying this patch, we may
need select DW DMAC manually in DMA driver menu, before
we can prompt and select HSW/BDW and old BYT machines.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/Kconfig
sound/soc/intel/common/Makefile
sound/soc/intel/common/sst-dsp.c
sound/soc/intel/common/sst-dsp.h