On 10/21/2016 12:56 AM, Maxime Ripard wrote:
-static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi, int len)
> +static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi)
> {
> + int len = sspi->fifo_depth;
>u32 reg, cnt;
>u8 byte;
I'm not so sure about this one. This fu
On Wed, Oct 19, 2016 at 11:02:34PM +0900, Milo Kim wrote:
> The argument can be removed because the driver private data has it.
>
> Cc: Mark Brown
> Cc: Maxime Ripard
> Cc: Chen-Yu Tsai
> Signed-off-by: Milo Kim
> ---
> drivers/spi/spi-sun6i.c | 10 ++
> 1 file changed, 6 insertions(+
The argument can be removed because the driver private data has it.
Cc: Mark Brown
Cc: Maxime Ripard
Cc: Chen-Yu Tsai
Signed-off-by: Milo Kim
---
drivers/spi/spi-sun6i.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-su
3 matches
Mail list logo