summaryrefslogtreecommitdiffstats
path: root/Documentation/fb/metronomefb.txt
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-03-17 12:55:57 -0300
committerSascha Hauer <s.hauer@pengutronix.de>2011-05-19 13:11:04 +0200
commit6f9ec442a07701e0ef241854862fdf2540be1bdb (patch)
treecc291be07bd36c1fd086ec2940078c89356fe001 /Documentation/fb/metronomefb.txt
parent2d95378b043f082192a11f8476e3f63291c3477b (diff)
downloadblackbird-op-linux-6f9ec442a07701e0ef241854862fdf2540be1bdb.tar.gz
blackbird-op-linux-6f9ec442a07701e0ef241854862fdf2540be1bdb.zip
ARM: mx5/babbage: Use gpio_request_one in babbage_usbhub_reset
Current code inside babbage_usbhub_reset uses gpio_direction_output with initial value of the GPIO and also sets the GPIO value via gpio_set_value to the same level right after. This is not needed. By using gpio_request_one it is possible to set the direction and initial value in one shot. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> LAKML-Reference: 1300377359-23212-2-git-send-email-fabio.estevam@freescale.com Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/fb/metronomefb.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud