At Wed, 13 Feb 2008 16:00:21 +0100, Matej Laitl wrote:
On Wednesday 13 of February 2008 14:06:20 Takashi Iwai wrote:
This patch did not have any effect. (i haven't tested suspend-to-ram)
alsa-info before powersaving (speaker silent, mixer says: Speaker=MM): http://pastebin.ca/902330
alsa-info after powersaving (speaker loud, mixer says: Speaker=MM): http://pastebin.ca/902332
Oh, it's my thinko. The init routine shouldn't update the amp cache.
The patch below should fix this problem. Actually it reverts the code to my first patch.
Eh, this one wasn't successful. The symptoms are the same, and the diff between alsa-info before and after powersaving remained also the same:
Did you revert the test patch (http://lkml.org/lkml/2008/2/13/165) before the last patch? That test patch is just harmful.
Takashi