Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1261287
| From | Nicolas Boichat <drinkcat@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mfd: cros ec: Lock the SPI bus while holding chipselect |
| Date | 2015-11-03 09:30 +0100 |
| Message-ID | <qqF8C-cW-13@gated-at.bofh.it> (permalink) |
| References | <qoQBb-69G-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
+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! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] mfd: cros ec: Lock the SPI bus while holding chipselect Nicolas Boichat <drinkcat@chromium.org> - 2015-11-03 09:30 +0100
csiph-web