Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1207981

Re: [PATCH 1/3] spi: bitbang: Replace spinlock by mutex when calling chipselect

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] spi: bitbang: Replace spinlock by mutex when calling chipselect
Date 2015-08-15 04:20 +0200
Message-ID <pXzeF-3OQ-9@gated-at.bofh.it> (permalink)
References <pU47n-6U1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Aug 05, 2015 at 06:24:05PM +0800, Nicolas Boichat wrote:

> Anyway, the "safer" way to fix this would be to keep the
> prepare/unprepare functions, busy variable, and just protect it with a
> mutex instead of a spinlock...

OK, that seems reasonable.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/3] spi: bitbang: Replace spinlock by mutex when calling chipselect Nicolas Boichat <drinkcat@chromium.org> - 2015-08-05 12:30 +0200
  Re: [PATCH 1/3] spi: bitbang: Replace spinlock by mutex when calling  chipselect Mark Brown <broonie@kernel.org> - 2015-08-15 04:20 +0200

csiph-web