diff options
| author | Fabio Estevam <[email protected]> | 2011-03-17 12:55:57 -0300 |
|---|---|---|
| committer | Sascha Hauer <[email protected]> | 2011-05-19 13:11:04 +0200 |
| commit | 6f9ec442a07701e0ef241854862fdf2540be1bdb (patch) | |
| tree | cc291be07bd36c1fd086ec2940078c89356fe001 /tools/perf/scripts/python | |
| parent | 2d95378b043f082192a11f8476e3f63291c3477b (diff) | |
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 <[email protected]>
LAKML-Reference: [email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions