Re: [PATCH 03/10] iio: st_sensors: make BDU optional

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

 



On Mon, May 4, 2015 at 6:23 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> On 30/04/15 14:15, Linus Walleij wrote:

>> Not all sensors support BDU (block data update) and in fact a
>> bunch of the in-kernel sensor settings do not specify the
>> BDU address field. Make this optional.
>>
>> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> Applied, though I wonder if this causes any problems on the existing
> devices that don't specify a BDU register?  If so perhaps
> it should be going in quicker as a fix?
>
> Or are we just lucky in that writing address 0 never does any
> harm?

I think it's like so. Register 0 is basically unused and will
just write/return 0. No regression, just useless read/writes.

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