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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux