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)
commit1b006996b6c44d9d95462e382921954756cec99b
tree72852960cce0fcf464671d851823734b7e421b07
parent3271cb22838882bad86f6f2405b29fa7925a08e8
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