Re: [RESEND PATCH] leds: leds-gpio: set devm_gpio_request_one() flags correctly

2012-12-31 Thread Javier Martinez Canillas
On 12/21/2012 06:06 PM, Ezequiel Garcia wrote: On Fri, Dec 21, 2012 at 12:07 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: commit a99d76f leds: leds-gpio: use gpio_request_one changed the leds-gpio driver to use gpio_request_one() instead of gpio_request() +

[RESEND PATCH] leds: leds-gpio: set devm_gpio_request_one() flags correctly

2012-12-21 Thread Javier Martinez Canillas
commit a99d76f leds: leds-gpio: use gpio_request_one changed the leds-gpio driver to use gpio_request_one() instead of gpio_request() + gpio_direction_output() Unfortunately, it also made a semantic change that breaks the leds-gpio driver. The gpio_request_one() flags parameter was set to:

Re: [RESEND PATCH] leds: leds-gpio: set devm_gpio_request_one() flags correctly

2012-12-21 Thread Ezequiel Garcia
On Fri, Dec 21, 2012 at 12:07 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: commit a99d76f leds: leds-gpio: use gpio_request_one changed the leds-gpio driver to use gpio_request_one() instead of gpio_request() + gpio_direction_output() Unfortunately, it also made a