]> git.baikalelectronics.ru Git - kernel.git/commit
vga_switcheroo: Enable/disable audio clients at the right time
authorTakashi Iwai <tiwai@suse.de>
Sat, 9 Jun 2012 06:46:42 +0000 (08:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Jun 2012 10:14:43 +0000 (12:14 +0200)
commit5cbfe7d9ef765072336fcf1f280be3276160b146
treebd475cbbc47c2fa527b1e4dbe0b9028a7a2a15d4
parent1cc359beaeacff9d7c79b39aadccf130ec8400d4
vga_switcheroo: Enable/disable audio clients at the right time

The audio clients have to be disabled before disabling the VGA and
switching.  Similarly, enabling the audio client should be done at
last.  Otherwise the audio-side operation stalls, eventually leading
to Oops or lockups.

Tested-by: Jörg-Volker Peetz <jvpeetz@web.de>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/vga/vga_switcheroo.c