diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2014-04-08 09:15:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 11:41:44 -0700 |
commit | ff8ebe6448e98df59a8c7e7e93876f8f3d6a8b19 (patch) | |
tree | 46fb35b16877afd5c1d2fe1a7219c21b97a4b545 /mm/mmzone.c | |
parent | 5ed0a8e667090003fdf7b750296fcfb248349502 (diff) |
staging: goldfish: Call free_irq in error path
If misc_register failed in goldfish_audio_probe, the already requested
IRQ wouldn't get freed. Add a call to free_irq() like there is in
goldfish_audio_remove().
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions