serial: 8250: of: Correct of_platform_serial_setup() error handling
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Fri, 13 Jul 2018 14:58:54 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 09:56:22 +0000 (11:56 +0200)
commitb29330d829042512fabb2bfa3bbfa32df1115594
tree17c24b4050030a96848b0d087a90292a160e3023
parentb819e4aba0f8456966dce137650b9421f5bf9be7
serial: 8250: of: Correct of_platform_serial_setup() error handling

Don't dispose IRQ mapping before it has been created.

Fixes: aa9594740 ("serial: 8250_of: Add IO space support")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c