public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Mike Dunn <mikedunn@newsguy.com>
To: linux-mtd@lists.infradead.org
Subject: Re: MTD API locking and concurrency
Date: Tue, 13 Mar 2012 10:17:49 -0700	[thread overview]
Message-ID: <4F5F813D.8090309@newsguy.com> (raw)
In-Reply-To: <87obs1rr4b.fsf@free.fr>

On 03/12/2012 10:45 PM, Robert Jarzmik wrote:
> Hi,
> 
> I came across a concurrent usage of my MTD driver by UBIFS by doing
> an IOC_UBI_UPVOL. As my chip doesn't support multiple requests at a time, I need
> to protect the access to chip registers.


FYI, the nand infrastructure code handles this for its devices; see
nand_base.c::nand_get_device()

Mike

      parent reply	other threads:[~2012-03-13 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13  5:45 MTD API locking and concurrency Robert Jarzmik
2012-03-13 12:41 ` Artem Bityutskiy
2012-03-13 17:17 ` Mike Dunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F5F813D.8090309@newsguy.com \
    --to=mikedunn@newsguy.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox