]> asedeno.scripts.mit.edu Git - linux.git/commit
media: atmel: atmel-isc: fix and cleanup potential bugs
authorEugen Hristev <eugen.hristev@microchip.com>
Wed, 12 Jun 2019 12:00:35 +0000 (08:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:37:09 +0000 (16:37 -0400)
commitb046ec51f9bb53a63a61dbc11733879aa4c7004c
treedd8d4c1e15d757204ef1a1e17d859425755de8c1
parent0a0e265515db7619d0da9331d74245d02c741f07
media: atmel: atmel-isc: fix and cleanup potential bugs

Fixed issues that can lead to potential bugs.
Cleanup order in the driver
Taking into consideration std control creation can fail
mutex_destroy call
changing controller_formats with const specifier
some cosmetic cleanups

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/atmel/atmel-isc-base.c
drivers/media/platform/atmel/atmel-isc.h
drivers/media/platform/atmel/atmel-sama5d2-isc.c