Linux IIO development
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Denis CIOCCA <denis.ciocca@st.com>
Cc: Denis Ciocca <denis.ciocca@gmail.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	Jonathan Cameron <jic23@kernel.org>
Subject: Re: Use buffer without trigger
Date: Fri, 17 May 2013 14:52:28 +0200	[thread overview]
Message-ID: <5196280C.8070909@metafoo.de> (raw)
In-Reply-To: <2527914.pxyfU9jjLA@ctocwl0124>

On 05/17/2013 02:34 PM, Denis CIOCCA wrote:
>> Yes, but you still have to assign the trigger to the device in sysfs.
> 
> Ok but I have to use a dummy trigger for every device?
> 
> Denis

No. Allocate your buffers and allocate your one trigger. Before you can
enable your buffer you need to assign the trigger to the buffer in sysfs (By
writing to trigger/current_trigger).

- Lars

  reply	other threads:[~2013-05-17 12:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAEE_umrLpNJo1kMbLtktK0RH6WCKCEYR+yiTiyPJu_8G3coE7A@mail.gmail.com>
2013-05-14 16:18 ` Use buffer without trigger Denis Ciocca
2013-05-14 17:57   ` Lars-Peter Clausen
2013-05-17 11:28     ` Denis CIOCCA
2013-05-17 11:30       ` Lars-Peter Clausen
2013-05-17 12:34         ` Denis CIOCCA
2013-05-17 12:52           ` Lars-Peter Clausen [this message]
2013-05-18 10:20             ` Jonathan Cameron
2013-05-20  7:54               ` Denis CIOCCA
2013-05-20 12:45               ` Denis CIOCCA

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=5196280C.8070909@metafoo.de \
    --to=lars@metafoo.de \
    --cc=denis.ciocca@gmail.com \
    --cc=denis.ciocca@st.com \
    --cc=jic23@kernel.org \
    --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