diff options
author | Colin Leroy <colin@colino.net> | 2005-05-01 08:58:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:58:43 -0700 |
commit | 085e6fc96bcf239cab8adc600aab2452d75590b1 (patch) | |
tree | b02b932789402ab96ded653395207cd19d34c2f2 /arch | |
parent | 1f7b49d042abfbda71f41b8aff6e1bf7685c1f00 (diff) | |
download | op-kernel-dev-085e6fc96bcf239cab8adc600aab2452d75590b1.zip op-kernel-dev-085e6fc96bcf239cab8adc600aab2452d75590b1.tar.gz |
[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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions