sst: avoid unnecessary firmware reloading for MRST
authorFeng Tang <feng.tang@intel.com>
Fri, 8 Jul 2011 08:59:26 +0000 (09:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 21:02:25 +0000 (14:02 -0700)
commit26af13f15ab281c9e20f8027bc556111644662ae
treefca3d799477812ec81312f1baedbbc9bfe4b5c43
parent35b5ddb6466f66c511217abd8b3f490e759dae3e
sst: avoid unnecessary firmware reloading for MRST

SST HW on MRST doesn't need to reload the firmware during suspend/resume
cycle, so remove the extra workload. This also fix a bug that the firmware
sample rate can't be modified when there is no active playback/capture
stream.

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.c
drivers/staging/intel_sst/intel_sst_common.h
drivers/staging/intel_sst/intel_sst_drv_interface.c