]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Clean data after SST fw fetch
authorLibin Yang <libin.yang@intel.com>
Tue, 10 Feb 2015 02:02:47 +0000 (10:02 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2015 08:58:15 +0000 (09:58 +0100)
commitd973afe890e8f35375f96cf72d3fc2c5f4274636
tree72852960cce0fcf464671d851823734b7e421b07
parentdf880754a81c9f90517172892ae514fee5a33eef
ASoC: Intel: Clean data after SST fw fetch

The BDW audio firmware DSP manages the DMA and the DMA cannot be
stopped exactly at the end of the playback stream. This means
stale samples may be played at PCM stop unless the driver copies
silence to the subsequent periods.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/intel/sst-haswell-ipc.c
sound/soc/intel/sst-haswell-ipc.h
sound/soc/intel/sst-haswell-pcm.c