]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/debugobjects.c
ALSA: HDA: Cirrus - fix "Surround Speaker" volume control name
[karo-tx-linux.git] / lib / debugobjects.c
index a9a8996d286a8e64f5ac23aec220b7645356cfac..e64b04c68746fab571c92780a9179b7ed5027875 100644 (file)
@@ -196,7 +196,7 @@ static void free_object(struct debug_obj *obj)
         * initialized:
         */
        if (obj_pool_free > ODEBUG_POOL_SIZE && obj_cache)
-               sched = !work_pending(&debug_obj_work);
+               sched = keventd_up() && !work_pending(&debug_obj_work);
        hlist_add_head(&obj->node, &obj_pool);
        obj_pool_free++;
        obj_pool_used--;