Re: [PATCH v2 4/6] spi: sun4i: use completion provided by SPI core driver

2018-04-04 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 06:29:03PM +0300, Sergey Suloev wrote: > As long as the completion already provided by the SPI core > then there is no need to waste extra-memory on this. > Also a waiting function was added to avoid code duplication. This should also be split in two parts. Maxime --

Re: [PATCH v2 4/6] spi: sun4i: use completion provided by SPI core driver

2018-04-04 Thread Maxime Ripard
On Tue, Apr 03, 2018 at 06:29:03PM +0300, Sergey Suloev wrote: > As long as the completion already provided by the SPI core > then there is no need to waste extra-memory on this. > Also a waiting function was added to avoid code duplication. This should also be split in two parts. Maxime --

[PATCH v2 4/6] spi: sun4i: use completion provided by SPI core driver

2018-04-03 Thread Sergey Suloev
As long as the completion already provided by the SPI core then there is no need to waste extra-memory on this. Also a waiting function was added to avoid code duplication. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 62

[PATCH v2 4/6] spi: sun4i: use completion provided by SPI core driver

2018-04-03 Thread Sergey Suloev
As long as the completion already provided by the SPI core then there is no need to waste extra-memory on this. Also a waiting function was added to avoid code duplication. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 62 - 1 file