]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: hda - Fix the cmd cache keys for amp verbs
authorTakashi Iwai <tiwai@suse.de>
Wed, 15 Apr 2009 15:48:35 +0000 (17:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Apr 2009 15:51:56 +0000 (17:51 +0200)
commitfcad94a4c71c36a05f4d5c6dcb174534b4e0b136
treeb37bea214d8159123c0b7e398e635a4b8aa9a2a6
parent83b2086ce2a1458168dc8b9d624060b2d7a82d4c
ALSA: hda - Fix the cmd cache keys for amp verbs

Fix the key value generation for get/set amp verbs.  The upper bits of
the parameter have to be combined with the verb value to be unique for
each direction/index of amp access.

This fixes the resume problem on some hardwares like Macbook after
the channel mode is changed.

Tested-by: Johannes Berg <johannes@sipsolutions.net>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c