intel_sst: make sure the sst_drop_stream() get called when needed
authorFeng Tang <feng.tang@intel.com>
Tue, 3 May 2011 16:34:55 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 19:58:42 +0000 (12:58 -0700)
commitf2b5ea1feb904d483a8cf901562e314988ecc314
treef9ab82aa285cb71546e53a0d1d08d0fb2373d395
parente51a34f3e83b96a4cfa2fdc2ba952c3f8b66c1da
intel_sst: make sure the sst_drop_stream() get called when needed

When "aplay test.wav", if we "ctrl+z" to suspend it, the last piece of
sound will be played endlessly. So we need make sure the drop_stream
is called in such a case.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/intel_sst/intel_sst_drv_interface.c