提交 b6e4a3f1 编写于 作者: L Laurent Pinchart 提交者: Simon Horman

serial: sh-sci: Set the UPF_FIXED_PORT flag

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: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 b5e17b71
......@@ -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;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册