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)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 3 Mar 2014 11:41:22 +0000 (12:41 +0100)
commit7e9e148af01ef388efb6e2490805970be4622792
treefc82b7fda213f81f5360514192f3483d018accfa
parent5be93bdda64e85450598c6e97f79fb8f6acf30e0
can: flexcan: flexcan_open(): fix error path if flexcan_chip_start() fails

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

Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c