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

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