Re: [RFC PATCH] spi: Ensure that CS line is in non-active state after setup

From: Mark Brown
Date: Sun Mar 08 2015 - 16:01:51 EST


On Fri, Mar 06, 2015 at 05:45:15PM +0200, Ivan T. Ivanov wrote:

> if (spi->master->setup)
> status = spi->master->setup(spi);
> + else
> + spi_set_cs(spi, false);

Why would this be conditional on there not being a setup operation?
It's a good idea, I just don't see why the backstop isn't always useful.

Attachment: signature.asc
Description: Digital signature