linux-stable/sound/soc/intel
Jeeja KP b7d0254c51 ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size
When module size > DMA buffer size, driver copies first chunk and waits
for the BDL complete interrupt. BDL complete interrupt never occurs and
wait time expires as module load IPC is not send to start the DMA from
DSP.

To fix the above issue need to follow the below steps:
1. After copying the first chunk, send the module load IPC to start the
DMA.
2. Wait for the BDL interrupt. Once interrupt is received, copy the
next chunk.
3. Continue step 2 till all bytes are copied.
4. When all the bytes are copied (bytes_left = 0), wait for module load
IPC response
5. Handled module load IPC response messages, check the load module IPC
response and wake up the thread to complete module load.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-03-15 17:28:18 +00:00
..
atom ASoC: Intel: Enable bytcht_nocodec machine driver 2017-03-13 16:41:18 +00:00
baytrail ASoC: intel: Replace kthread with work 2016-11-30 17:41:13 +00:00
boards ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access 2017-03-13 16:41:15 +00:00
common ASoC: Intel: Common: Update dsp register poll implementation 2017-01-06 18:14:45 +00:00
haswell ASoC: intel: Replace kthread with work 2016-11-30 17:41:13 +00:00
skylake ASoC: Intel: Skylake: Fix module load when module size > DMA buffer size 2017-03-15 17:28:18 +00:00
Kconfig ASoC: Intel: boards: add card for MinnowBoardMax/Up I2S access 2017-03-13 16:41:15 +00:00
Makefile ASoC: Intel: rename SND_SST_MFLD_PLATFORM to SND_SST_ATOM_HIFI2_PLATFORM 2017-01-17 17:46:40 +00:00