lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mfd: cros ec: Lock the SPI bus while holding chipselect
From
+gwendal@chromium.org

On Thu, Oct 29, 2015 at 4:17 PM, Nicolas Boichat <drinkcat@chromium.org> wrote:
> @@ -482,6 +493,7 @@ static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev,
>
> ret = len;
> exit:
> + spi_bus_unlock(ec_spi->spi->master);

Gwendal noted offline that I could unlock the bus earlier, just after
terminate_request.

I'll do that and send a v2 soon.

Thanks!


\
 
 \ /
  Last update: 2015-11-03 10:01    [W:0.028 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site