]> git.baikalelectronics.ru Git - kernel.git/commit
vga_switcheroo: Add a helper function to get the client state
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Jun 2012 10:15:15 +0000 (12:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jun 2012 09:24:12 +0000 (11:24 +0200)
commit9e7988133243d9150ebd14e4a7f0aab500c9a6b8
treeccd86aa58f08cde50dcc0da35d2ea4b745d99abd
parent0f3e17c1051b32544f0b17270ff50d38521c339e
vga_switcheroo: Add a helper function to get the client state

Add vga_switcheroo_get_client_state() to get the current state of the
client.  This is necessary to determine the proper initial state of
audio clients in HD-audio driver.

Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/vga/vga_switcheroo.c
include/linux/vga_switcheroo.h