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

From: Nicolas Boichat
Date: Tue Nov 03 2015 - 03:25:53 EST


On Thu, Oct 29, 2015 at 4:17 PM, Nicolas Boichat <drinkcat@xxxxxxxxxxxx> 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

I'll do that and send a v2 soon.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at