From: Jonathan Cameron <jic23@cam.ac.uk>
To: Peter Meerwald <pmeerw@pmeerw.net>
Cc: Jonathan Cameron <jic23@kernel.org>, linux-iio@vger.kernel.org
Subject: Re: iio: vcnl4000 ALS/proximity driver
Date: Tue, 12 Jun 2012 13:20:48 +0100 [thread overview]
Message-ID: <4FD73420.3020500@cam.ac.uk> (raw)
In-Reply-To: <alpine.DEB.2.01.1206121406410.23868@pmeerw.net>
On 6/12/2012 1:12 PM, Peter Meerwald wrote:
> Hello Jonathan,
>
>>> /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
>> err. that's curious. You can't set that... Goes to show I should review
>> changes to this file more carefully. I just shouted down adding the stuff that
>> would provide that precisely because it made no sense.
>
> I leave that to you
>
>>> in iio.h:
>>> * @channel: What number or name do we wish to assign the channel.
>>> what is meant by 'name' here?
>> Oops. Comment has rotted. Drop the name bit if you fancy doing a patch.
>
> will do
>
>>> * @indexed: Specify the channel has a numerical index. If not,
>>> * the value in channel will be suppressed for attribute
>>> * but not for event codes. Typically set it to 0 when
>>> * the index is false.
>>> I am not sure what an 'attribute code' is (sysfs name?)
>> attribute name (which is just a sysfs name as you call it) Again,
>> could do with fixing.
>
> * @indexed: Specify the channel has a numerical index. If not,
> * the channel index number will be suppressed for sysfs
> * attributes but not for event codes. Typically set it
> * to 0 when the index is 0.
>
>>> I am not sure what 'index is false' means
>> index == 0; Oops, more good points. Thanks!
>
> or should it be 'Typically set it to 0 when the index is 0 and there is
> just one channel.'?
I'd just drop the typically bit entirely.... It's gibberish as you
pointed out...
>
> regards, p.
>
prev parent reply other threads:[~2012-06-12 12:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-10 22:39 iio: vcnl4000 ALS/proximity driver Peter Meerwald
2012-06-10 22:39 ` [PATCH] iio: add vcnl4000 combined ALS and proximity sensor Peter Meerwald
2012-06-11 11:13 ` Lars-Peter Clausen
2012-06-11 18:13 ` Jonathan Cameron
2012-06-11 18:14 ` iio: vcnl4000 ALS/proximity driver Jonathan Cameron
2012-06-11 21:35 ` Peter Meerwald
2012-06-12 5:49 ` Jonathan Cameron
2012-06-12 7:49 ` Jonathan Cameron
2012-06-12 9:48 ` Peter Meerwald
2012-06-12 11:01 ` Jonathan Cameron
2012-06-12 11:04 ` Jonathan Cameron
2012-06-12 12:12 ` Peter Meerwald
2012-06-12 12:20 ` Jonathan Cameron [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=4FD73420.3020500@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.