linux-stable-rt/sound
Colin Leroy 085e6fc96b [PATCH] pmac: save master volume on sleep
Ben's patch that shutdowns master switch and restores it after resume
("pmac: Improve sleep code of tumbler driver") isn't enough here on an
iBook (snapper chip).

The master switch is correctly saved and restored, but somehow
tumbler_put_master_volume() gets called just after
tumbler_set_master_volume() and sets mix->master_vol[*] to 0.  So, on
resuming, the master switch is reenabled, but the volume is set to 0.

Here's a patch that also saves and restores master_vol.

Signed-off-by: Colin Leroy <colin@colino.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01 08:58:43 -07:00
..
arm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core [PATCH] fix pm_message_t vs. u32 in alsa 2005-04-16 15:25:30 -07:00
drivers Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isa Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oss [PATCH] msnd_pinnacle GFP fix 2005-04-24 12:28:34 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] fix pm_message_t vs. u32 in alsa 2005-04-16 15:25:30 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc [PATCH] pmac: save master volume on sleep 2005-05-01 08:58:43 -07:00
sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
synth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
last.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00