]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] PowerBook 6,1: headphone not detected after suspend
authorGuido Guenther <agx@sigxcpu.org>
Tue, 15 Nov 2005 06:28:05 +0000 (17:28 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Nov 2005 02:51:50 +0000 (13:51 +1100)
commitf9effc1e8458d9a9f635fdef11930954ed2cbe80
treec4666405c979bd4fb327030416b01fe917259a7f
parent3f56bc7c04a7c4854bcc453d8c882b4f90d01c7d
[PATCH] PowerBook 6,1: headphone not detected after suspend

ever since suspend to disk works I had the problem that headphone
(un)plugging doesn't get detected properly anymore after the first
resume.
Reloading the module worked around this ever since, however the real
cause of the problem was that after a resume the driver only got
interrupts on "unplug" not on "plug". Reactivating the headphone status
interrupt in tumbler_resume fixes this. This shouldn't cause
any trouble with software suspend, but it would be nice if somebody
could confirm this:

Signed-off-by: Guido Guenther <agx@sigxcpu.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
sound/ppc/tumbler.c