]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
imx: serial: handle initialisation failure correctly
authorDaniel Glöckner <dg@emlix.com>
Thu, 11 Jun 2009 13:39:21 +0000 (14:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:08 +0000 (08:51 -0700)
commit9f322ad064f9210e7d472dfe77e702274d5c9dba
treee7799ca401c1334e9c4bea40b02e7a5b6214a392
parent2e1463922a35584c863f71d4021e1e71f76eaed0
imx: serial: handle initialisation failure correctly

correctly de-initialise device when setting up failed,
call to pdata->exit() was missing.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/imx.c