Re: [PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init

2017-04-14 Thread Mark Brown
On Fri, Apr 14, 2017 at 10:22:42AM +0200, Quentin Schulz wrote: > The SPI controller configuration during the init can be reused, for the > resume function for example. Please don't resubmit patches that have already been applied, you should submit patches against current code in the tree you're e

Re: [PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init

2017-04-14 Thread Alexandre Belloni
On 14/04/2017 at 10:22:42 +0200, Quentin Schulz wrote: > The SPI controller configuration during the init can be reused, for the > resume function for example. > > Let's move this configuration to a separate function. > > Signed-off-by: Quentin Schulz > Acked-by: Nicolas Ferre Note that this o

[PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init

2017-04-14 Thread Quentin Schulz
The SPI controller configuration during the init can be reused, for the resume function for example. Let's move this configuration to a separate function. Signed-off-by: Quentin Schulz Acked-by: Nicolas Ferre --- drivers/spi/spi-atmel.c | 35 +-- 1 file changed,

Re: [PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init

2017-04-12 Thread Nicolas Ferre
Le 12/04/2017 à 09:05, Quentin Schulz a écrit : > The SPI controller configuration during the init can be reused, for the > resume function for example. > > Let's move this configuration to a separate function. > > Signed-off-by: Quentin Schulz Okay: Acked-by: Nicolas Ferre > --- > drivers/s

[PATCH 1/2] spi: atmel: factorize reusable code for SPI controller init

2017-04-12 Thread Quentin Schulz
The SPI controller configuration during the init can be reused, for the resume function for example. Let's move this configuration to a separate function. Signed-off-by: Quentin Schulz --- drivers/spi/spi-atmel.c | 35 +-- 1 file changed, 21 insertions(+), 14 del