Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-21 Thread Linus Walleij
On Wed, Feb 8, 2017 at 2:00 PM, Greg KH wrote: >> - gpiod = devm_get_gpiod_from_child(port->dev, "rts", >> - &np->fwnode); >> - if (!IS_ERR(gpiod)) { >> - gpiod_direction_outp

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-13 Thread Lee Jones
On Thu, 09 Feb 2017, Greg KH wrote: > On Thu, Feb 09, 2017 at 08:21:50AM +, Lee Jones wrote: > > On Wed, 08 Feb 2017, Greg KH wrote: > > > > > On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > > > > The commits mentioned below adapt the GPIO API to allow more information > > > > to

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 08:21:50AM +, Lee Jones wrote: > On Wed, 08 Feb 2017, Greg KH wrote: > > > On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > > > The commits mentioned below adapt the GPIO API to allow more information > > > to be passed directly through devm_get_gpiod_from_c

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-09 Thread Lee Jones
On Wed, 08 Feb 2017, Greg KH wrote: > On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > > The commits mentioned below adapt the GPIO API to allow more information > > to be passed directly through devm_get_gpiod_from_child() in the first > > instance. This facilitates the removal of su

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Stephen Rothwell
Hi all, On Wed, 08 Feb 2017 21:42:47 +0200 Andy Shevchenko wrote: > > On Wed, 2017-02-08 at 18:47 +0100, Greg KH wrote: > > On Wed, Feb 08, 2017 at 06:31:10PM +0200, Andy Shevchenko wrote: > > > > > > It requires to have immutable branch in one of the subsystem which > > > the > > > other one

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Andy Shevchenko
On Wed, 2017-02-08 at 18:47 +0100, Greg KH wrote: > On Wed, Feb 08, 2017 at 06:31:10PM +0200, Andy Shevchenko wrote: > > On Wed, 2017-02-08 at 21:48 +0800, kbuild test robot wrote: > > > Hi Lee, > > > > > > [auto build test ERROR on tty/tty-testing] > > > [cannot apply to v4.10-rc7 next-20170208]

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Greg KH
On Wed, Feb 08, 2017 at 06:31:10PM +0200, Andy Shevchenko wrote: > On Wed, 2017-02-08 at 21:48 +0800, kbuild test robot wrote: > > Hi Lee, > > > > [auto build test ERROR on tty/tty-testing] > > [cannot apply to v4.10-rc7 next-20170208] > > [if your patch is applied to the wrong git tree, please dr

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Andy Shevchenko
On Wed, 2017-02-08 at 21:48 +0800, kbuild test robot wrote: > Hi Lee, > > [auto build test ERROR on tty/tty-testing] > [cannot apply to v4.10-rc7 next-20170208] > [if your patch is applied to the wrong git tree, please drop us a note > to help improve the system] > > url:https://github.com/0d

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread kbuild test robot
Hi Lee, [auto build test ERROR on tty/tty-testing] [cannot apply to v4.10-rc7 next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Lee-Jones/serial-st-asc-Use-new-GPIOD-API-to-obtain-RT

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Greg KH
On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > The commits mentioned below adapt the GPIO API to allow more information > to be passed directly through devm_get_gpiod_from_child() in the first > instance. This facilitates the removal of subsequent calls, such as > gpiod_direction_out

[PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-08 Thread Lee Jones
The commits mentioned below adapt the GPIO API to allow more information to be passed directly through devm_get_gpiod_from_child() in the first instance. This facilitates the removal of subsequent calls, such as gpiod_direction_output(). This patch firstly moves to utilise the new API and secondl