aboutsummaryrefslogtreecommitdiff
path: root/sound/isa/cs423x/cs4231_lib.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-31 14:19:44 -0700
committerTony Luck <tony.luck@intel.com>2005-08-31 14:19:44 -0700
commit986632fd7033a0199f9548c44606377cdf1f4a80 (patch)
tree04a705d9cdcb911a86371499f0036ed1034239b4 /sound/isa/cs423x/cs4231_lib.c
parenta994018a5fc987702dfb4f5d31172842ea6186dc (diff)
parent6b39374a27eb4be7e9d82145ae270ba02ea90dc8 (diff)
Auto-update from upstream
Diffstat (limited to 'sound/isa/cs423x/cs4231_lib.c')
-rw-r--r--sound/isa/cs423x/cs4231_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/isa/cs423x/cs4231_lib.c b/sound/isa/cs423x/cs4231_lib.c
index 3e7a2a33a5c..3199941edd9 100644
--- a/sound/isa/cs423x/cs4231_lib.c
+++ b/sound/isa/cs423x/cs4231_lib.c
@@ -1346,6 +1346,8 @@ static void snd_cs4231_suspend(cs4231_t *chip)
int reg;
unsigned long flags;
+ if (chip->pcm)
+ snd_pcm_suspend_all(chip->pcm);
spin_lock_irqsave(&chip->reg_lock, flags);
for (reg = 0; reg < 32; reg++)
chip->image[reg] = snd_cs4231_in(chip, reg);