]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00274749 ARM: imx6q: Improve lvds cabc gpio request logic
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 12 Aug 2013 04:57:25 +0000 (12:57 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:12 +0000 (10:06 +0200)
commit8ed9776f2abe30ae78ce0e4facc9b4d2de050bb4
tree28e29d158db631fda1aa7221986ef25c7dd55654
parent7a8f84b70aa79121150a1980b25311c85d247e04
ENGR00274749 ARM: imx6q: Improve lvds cabc gpio request logic

This patch removes the unnecessary gpio_set_value() and
gpio_free() function calls after request the gpios with
gpio_requestion_one() successfully. Also, this patch adds
a warning message if the request fails.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
arch/arm/mach-imx/mach-imx6q.c