can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 28 Feb 2014 13:52:01 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:44:17 +0000 (21:44 -0700)
commit2f264c30e4663b93717501391eb218a33ec57ed8
treefc0073db723b5b4ec2ec6430cb181876cde57db9
parent76c32c08c7449cb471cb6d0e2f67d3c9b06f9cad
can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails

commit 7e9e148af01ef388efb6e2490805970be4622792 upstream.

If flexcan_chip_start() in flexcan_open() fails, the interrupt is not freed,
this patch adds the missing cleanup.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/flexcan.c