diff options
| author | Haavard Skinnemoen <[email protected]> | 2008-02-08 04:21:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 09:22:37 -0800 |
| commit | dfa7f343e526f3595d8f1d99807d141ae0c08601 (patch) | |
| tree | e9adc3c14cc518518c4af9a71267300c60bb7f9f /tools/perf/scripts/python | |
| parent | 1c0fd82f9375b41f880dc9d7fe32920f33dc945b (diff) | |
atmel_serial: fix bugs in probe() error path and remove()
When an error happens in probe(), the clocks should be disabled, but
only if the port isn't already used as a console.
In remove(), the port struct shouldn't be freed because it's defined
statically.
Signed-off-by: Haavard Skinnemoen <[email protected]>
Cc: Andrew Victor <[email protected]>
Tested-by: Marc Pignat <[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