summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSeth Forshee <seth.forshee@canonical.com>2012-08-17 18:17:03 +0200
committerMatthew Garrett <mjg@redhat.com>2012-08-17 23:34:41 +0200
commit36704c0c4c64f889d77158d497f6a7e596d1341c (patch)
tree540dbed65a418bb599a729a17aa8cc806a1042af /mm
parentapple-gmux: Add display mux support (diff)
downloadlinux-36704c0c4c64f889d77158d497f6a7e596d1341c.tar.xz
linux-36704c0c4c64f889d77158d497f6a7e596d1341c.zip
vga_switcheroo: Remove assumptions about registration/unregistration ordering
vga_switcheroo assumes that the handler will be registered before the last client, otherwise switching will not be enabled. Likewise it's assumed that the handler will not be unregistered without at least one client also being unregistered, otherwise switching will remain enabled despite no longer having a handler. These assumptions cannot be enforced if the handler is in a separate driver from both clients, as with the gmux found in Apple laptops. Remove this assumption. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions