media: ov9655: fix missing mutex_destroy()
authorHugues Fruchet <hugues.fruchet@st.com>
Fri, 21 Jul 2017 15:49:41 +0000 (11:49 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 8 Aug 2017 10:31:47 +0000 (06:31 -0400)
commit457a1a7ac0f7b6a9c3b968a72c85116f17f24f86
tree09273d63b842a2963d22c5cac01e048d8ed5f65b
parent0a7a13452b72d7b54a627cc7c66257ad135ff46e
media: ov9655: fix missing mutex_destroy()

Fix missing mutex_destroy() when probe fails and
when driver is removed.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov9650.c