>@@ -359,7 +358,7 @@ static int cma_disable_remove(struct rdm > > spin_lock_irqsave(&id_priv->lock, flags); > if (id_priv->state == state) { >- atomic_inc(&id_priv->dev_remove); >+ mutex_lock(&id_priv->handler_mutex); This just tried to acquire a mutex while holding a spinlock. - Sean