10 Nov
2012
10 Nov
'12
7:52 p.m.
On 07.11.2012 15:07, Mark Brown wrote:
On Wed, Nov 07, 2012 at 02:15:55PM +0100, Daniel Mack wrote:
In case of probe deferral, the allocated GPIO line is not freed, which prevents it from being claimed and properly asserted in later attempts.
Fix this by freeing the GPIO in case of errors.
Can we convert to devm_gpio_request_one() instead?
Sure, that's much nicer.