projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d30bf3
)
[POWERPC] Dispose irq mapping when done in mpc52xx_serial.c
author
Sylvain Munaut
<tnt@246tNt.com>
Thu, 15 Feb 2007 22:18:08 +0000
(23:18 +0100)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 17 Feb 2007 07:20:18 +0000
(18:20 +1100)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/serial/mpc52xx_uart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/mpc52xx_uart.c
b/drivers/serial/mpc52xx_uart.c
index 955bbd653e22c0c94764c1503c7f3c1818bcdb9a..8d24cd521056793828df902ce864210653ca408d 100644
(file)
--- a/
drivers/serial/mpc52xx_uart.c
+++ b/
drivers/serial/mpc52xx_uart.c
@@
-995,8
+995,10
@@
mpc52xx_uart_of_remove(struct of_device *op)
struct uart_port *port = dev_get_drvdata(&op->dev);
dev_set_drvdata(&op->dev, NULL);
- if (port)
+ if (port)
{
uart_remove_one_port(&mpc52xx_uart_driver, port);
+ irq_dispose_mapping(port->irq);
+ }
return 0;
}