diff options
| author | Dmitry Baryshkov <[email protected]> | 2008-10-15 22:03:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:40 -0700 |
| commit | c557fa3e4c156b8713c177d9dde08920130bf551 (patch) | |
| tree | a79b6e702b0d76ba79c2204af527a0c193a68253 /tools/perf/scripts/python | |
| parent | 4fd5463c43d75ec919e27abdcfde1b199c19541e (diff) | |
gpio: max7301: fix the race between chip addition and pins reconfiguration
There is a small race and code ugliness in max7301: pins are reconfigured
after the chip is registered. Swap these calls so that the device is
registered in correct state.
Also this fixes the comile-time warning about unchecked gpiochip_remove.
Signed-off-by: Dmitry Baryshkov <[email protected]>
Cc: Juergen Beisert <[email protected]>
Cc: Guennadi Liakhovetski <[email protected]>
Cc: Russell King <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions