[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 7 Jul 2014 14:09:11 +0100
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
balbi@...com, linux-omap@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, tony@...mide.com
Subject: Re: [RFC PATCH 1/4] tty: serial: 8250 core: provide a function to
export uart_8250_port
On Fri, 4 Jul 2014 18:34:08 +0200
Sebastian Andrzej Siewior <bigeasy@...utronix.de> wrote:
> There is no access to access a struct uart_8250_port for a specific
> line. This is only required outside of the 8250/uart callbacks like for
> devices' suspend & remove callbacks. For those the 8250-core provides
> wrapper like serial8250_unregister_port() which passes the struct
> to the proper function based on the line argument.
>
> For runtime suspend I need access to this struct not only to make
> serial_out() work but also to properly restore up->ier and up->mcr.
Please update the patch to clearly describe the locking
assumptions/requirements for the caller (and not to use it unless you
have no other choice)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists