[media] omap3isp: ccdc: Simplify ccdc_lsc_is_configured()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 10 Jun 2014 09:15:33 +0000 (06:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:16 +0000 (15:25 -0500)
commit1c74817405d42572db2071b0b4a9609b487c91a7
treeb10f595ab3227552d778a5471a7d372b690f2da9
parent8815392a1d190201765682a82ca4c3e6ad03a674
[media] omap3isp: ccdc: Simplify ccdc_lsc_is_configured()

Use a local variable to avoid the duplicate spin_unlock_irqrestore()
call.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispccdc.c