aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/timberdale.c
diff options
context:
space:
mode:
authorThomas Gleixner2014-04-11 08:13:12 +0000
committerMarc Kleine-Budde2014-04-24 22:08:56 +0200
commitf058d548e8071a1d148d6ebd94888d011c3ca71e (patch)
tree57640ef92b3896fc7801f0443cbbf441fdf17085 /drivers/mfd/timberdale.c
parent9c64863a49bd23c5a3a983680eb500f7796c81be (diff)
can: c_can: Handle state change correctly
If the allocation of an error skb fails, the state change handling returns w/o doing any work. That leaves the interface in a wreckaged state as the internal status is wrong. Split the interface handling and the skb handling. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/mfd/timberdale.c')
0 files changed, 0 insertions, 0 deletions