[linux-usb-devel] [PATCH] bug removing ehci-hcd

From: Stuart_Hayes
Date: Thu May 31 2007 - 11:26:23 EST



I wasn't actually able to reproduce the bug myself, but I guess it is
pretty obvious that I shouldn't have called cpufreq_unregister_notifier
with a spinlock held. I haven't been doing this long enough to know
exactly which kernel this patch should be against, so let me know if
this ins't good. Thanks!


This patch (for the 2.6.21.3 kernel plus previously sent cpufreq
notifier patch) fixes a bug caused by calling
cpufreq_unregister_notifier (which can sleep) while holding a spinlock.

Signed-off-by: Stuart Hayes <stuart_hayes@xxxxxxxx>

Attachment: ehci_unregister_cpufreq_notifier.patch
Description: ehci_unregister_cpufreq_notifier.patch