2015-11-03 08:25:50

by Nicolas Boichat

[permalink] [raw]
Subject: Re: [PATCH] mfd: cros ec: Lock the SPI bus while holding chipselect

[email protected]

On Thu, Oct 29, 2015 at 4:17 PM, Nicolas Boichat <[email protected]> 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!