Re: [Gta04-owner] [PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-29 Thread NeilBrown
On Wed, 25 Mar 2015 12:20:20 -0400 Peter Hurley wrote: > Hi Neil, > > On 03/18/2015 01:58 AM, NeilBrown wrote: > > uart_{suspend,resume}_port seach the children of a uart device > > to find a particular tty device. > > This requires all the ttys to be direct children of the uart. > > > > A

Re: [Gta04-owner] [PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-29 Thread NeilBrown
On Wed, 25 Mar 2015 12:20:20 -0400 Peter Hurley pe...@hurleysoftware.com wrote: Hi Neil, On 03/18/2015 01:58 AM, NeilBrown wrote: uart_{suspend,resume}_port seach the children of a uart device to find a particular tty device. This requires all the ttys to be direct children of the uart.

Re: [PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-25 Thread Peter Hurley
Hi Neil, On 03/18/2015 01:58 AM, NeilBrown wrote: > uart_{suspend,resume}_port seach the children of a uart device > to find a particular tty device. > This requires all the ttys to be direct children of the uart. > > A future patch will allow a 'tty_slave' to intervene between > the port and

Re: [PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-25 Thread Peter Hurley
Hi Neil, On 03/18/2015 01:58 AM, NeilBrown wrote: uart_{suspend,resume}_port seach the children of a uart device to find a particular tty device. This requires all the ttys to be direct children of the uart. A future patch will allow a 'tty_slave' to intervene between the port and the

[PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-18 Thread NeilBrown
uart_{suspend,resume}_port seach the children of a uart device to find a particular tty device. This requires all the ttys to be direct children of the uart. A future patch will allow a 'tty_slave' to intervene between the port and the uart, voiding this requirement. So change to use

[PATCH 1/3] TTY: use class_find_device to find port in uart_suspend/resume.

2015-03-18 Thread NeilBrown
uart_{suspend,resume}_port seach the children of a uart device to find a particular tty device. This requires all the ttys to be direct children of the uart. A future patch will allow a 'tty_slave' to intervene between the port and the uart, voiding this requirement. So change to use