OSDN Git Service

[media] media: i2c: mt9p031: make sure we destroy the mutex
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Thu, 26 Feb 2015 18:05:38 +0000 (15:05 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:28:19 +0000 (21:28 -0300)
commit15af4a532f7fb21f7e02973a4829735ce13190c0
tree71c1fc3b2f7a001252a9beffa74a20198796261f
parent198b47ddd23498cd88f4ec2c2a050eb727cc357c
[media] media: i2c: mt9p031: make sure we destroy the mutex

Make sure to call mutex_destroy() in case of probe failure or module
unload.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/mt9p031.c