X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fw1%2Fmasters%2Fomap_hdq.c;h=0d92969404c37098ade2311882ffd2a88ba8a9ba;hb=989aa44a5f215427085ccfe65c1e378e3399c9eb;hp=a7e3b706b9d31f0cce657c448de4bedf8d91bd48;hpb=1e2ae4ddd373af6fa3ea2483d7fc4a08c7f54395;p=pandora-kernel.git diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index a7e3b706b9d3..0d92969404c3 100644 --- a/drivers/w1/masters/omap_hdq.c +++ b/drivers/w1/masters/omap_hdq.c @@ -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; }