Re: [RESEND PATCH 1/4] iio: st_accel: set up available scan masks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 15, 2015 at 11:12 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On 15/09/15 08:49, Linus Walleij wrote:

>> In order to enable triggered buffered input, IIO needs to
>> know what channels can be enabled for buffered input.
>> Set up a scan mask for X/Y/Z.

> This is only necessary if the device isn't capable of reading
> any subset of channels (i.e. there are restrictions).
> In this case reads seem to be accomplished on a channel by
> channel basis with no significant additional cost so I would
> not expect available_scan_masks to be specified.
>
> Doing this restricts the driver to having to read all 3 channels
> even if only one is desired.

You're right, this patch should be dropped. I actually figured that
out but forgot about it :/

Sorry for the fuzz .. let's focus on the other patches.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux