lkml.org 
[lkml]   [2015]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] spi: Ensure that CS line is in non-active state after setup
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-03-08 21:41    [W:0.033 / U:2.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site