OMAPDSS: flush write after irq enable
[pandora-kernel.git] / drivers / macintosh / windfarm_core.c
index ce88979..004fa10 100644 (file)
@@ -421,7 +421,7 @@ int wf_unregister_client(struct notifier_block *nb)
 {
        mutex_lock(&wf_lock);
        blocking_notifier_chain_unregister(&wf_client_list, nb);
-       wf_client_count++;
+       wf_client_count--;
        if (wf_client_count == 0)
                wf_stop_thread();
        mutex_unlock(&wf_lock);