Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6e4a3f1 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent b5e17b71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

	/*