]> 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>
Mon, 16 Jun 2014 14:06:18 +0000 (16:06 +0200)
commit09320e34a2a41b5c5e124379ed7aebc220144fc5
tree633a2ec83b260403b5a6611af0fec779ca1ce1d7
parent176a2291d1c21838ef499b668fa6af58e43ec2f7
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