Merge branch 'core-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git] / drivers / w1 / masters / omap_hdq.c
index a7e3b70..0d92969 100644 (file)
@@ -687,6 +687,7 @@ static int omap_hdq_remove(struct platform_device *pdev)
 
        if (hdq_data->hdq_usecount) {
                dev_dbg(&pdev->dev, "removed when use count is not zero\n");
+               mutex_unlock(&hdq_data->hdq_mutex);
                return -EBUSY;
        }