Linux IIO development
 help / color / mirror / Atom feed
From: Gregor Boirie <gregor.boirie@parrot.com>
To: <linux-iio@vger.kernel.org>
Subject: read_raw when buffered sampling enabled
Date: Fri, 12 Feb 2016 11:05:11 +0100	[thread overview]
Message-ID: <56BDAE57.4010900@parrot.com> (raw)

Greetings,

I see in several iio drivers supporting triggered buffer mode that read_raw
returns -EBUSY when buffered sampling is enabled. This additional logic
is implemented in read_raw using iio_buffer_enabled().
Since some drivers don't implement this I'm wondering wether this logic is
an IIO design requirement or if this is device / driver specific.

Regards,
Grégor.

             reply	other threads:[~2016-02-12 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 10:05 Gregor Boirie [this message]
2016-02-12 17:23 ` read_raw when buffered sampling enabled Jonathan Cameron

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=56BDAE57.4010900@parrot.com \
    --to=gregor.boirie@parrot.com \
    --cc=linux-iio@vger.kernel.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