]> git.karo-electronics.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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:29 +0000 (09:54 +0800)
commitcc813917361f266511b1dd7621c492bddeae2ea0
tree9edc7225ee6f5944736c690e5a0e17f1cd12465b
parent47f8144284d9abb7ac67e8839ecdcca736b9245d
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