projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e17b7
)
serial: sh-sci: Set the UPF_FIXED_PORT flag
author
Laurent Pinchart
<
[email protected]
>
Fri, 6 Dec 2013 09:59:14 +0000
(10:59 +0100)
committer
Simon Horman
<
[email protected]
>
Tue, 24 Dec 2013 02:17:38 +0000
(11:17 +0900)
The base address, IRQ and baud rate generator parent clock rate can't be
changed by userspace. Mark the port as fixed.
Signed-off-by: Laurent Pinchart <
[email protected]
>
Acked-by: Greg Kroah-Hartman <
[email protected]
>
Signed-off-by: Simon Horman <
[email protected]
>
drivers/tty/serial/sh-sci.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/sh-sci.c
b/drivers/tty/serial/sh-sci.c
index 8c17d551f32bc594622c2d5f20fdde830c1f6c86..67dadbd97adb7b38d0e047a068252d4febffe23a 100644
(file)
--- a/
drivers/tty/serial/sh-sci.c
+++ b/
drivers/tty/serial/sh-sci.c
@@
-2248,7
+2248,7
@@
static int sci_init_single(struct platform_device *dev,
port->mapbase = p->mapbase;
port->type = p->type;
- port->flags = p->flags;
+ port->flags =
UPF_FIXED_PORT |
p->flags;
port->regshift = p->regshift;
/*