]> 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)
commit6fe7880488c905055c0d397d521b6b2976613743
tree72852960cce0fcf464671d851823734b7e421b07
parent2037665e94fbe6754d7293e6f2695552df468bc5
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