diff options
author | Ben Dooks <[email protected]> | 2011-03-31 07:18:46 +0900 |
---|---|---|
committer | Grant Likely <[email protected]> | 2011-03-30 21:28:12 -0600 |
commit | 272df502bcd1fbb1b95facc92bd861d604be8871 (patch) | |
tree | 1216a5519f98c8021ebc1d5aac88d30926c64263 /scripts/patch-kernel | |
parent | 0ce790e7d736cedc563e1fb4e998babf5a4dbc3d (diff) |
gpio/pca953x: fix error handling path in probe() call
If the device fails to respond, then the error path tries to remove an
interrupt that never got registered, which causes an backtrace from the
interrupt handling code.
Fix this by ensuring that the cleanup path has two labels and use the
correct path as needed.
fixes the following error:
WARNING: at kernel/irq/manage.c:908 __free_irq+0x80/0x160()
Trying to free already-free IRQ 0
Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions