intel_sst: fix output noises when it's not in playback
authorLu Guanqun <guanqun.lu@intel.com>
Tue, 3 May 2011 16:43:53 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 20:00:53 +0000 (13:00 -0700)
commitca8f3525a5bb536a9d56ca4727a5079287599288
treebb436c645f826268b6d6124991930a6f372ad9ff
parent2124f8dad0334270a26334c0c23b67abfeaef954
intel_sst: fix output noises when it's not in playback

When the corresponding output device is not in playback, we can hear a little
noises.

Fix it by powering on the device only when it's in playback.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Wu Fengguang <fengguang.wu@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.h
drivers/staging/intel_sst/intelmid_v2_control.c