Skip to contentSkip to conversation

iio:st sensors: remove custom sampling frequence attribute in favour of core support.

PATCH In review Denis CIOCCA 2 participants 3 messages Nov 21, 2013 – Nov 24, 2013 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 5/11 iio:st sensors: remove custom sampling frequence attribute in favour of core support.

Hi Jonathan,

I think is a good thing do the porting some features inside the framework, but I think is also important don't change the userspace interface.

For example now we are developing same libraries and applications that using those files. What do you think to add on each driver one sysfs file called 'version' that will be updated when the userspace interface is changed?

Thanks,
Denis

maintainer
#1 lore raw
Quoted 11 lines · Denis CIOCCA

Hi Jonathan,

I think is a good thing do the porting some features inside the framework, but I think is also important don't change the userspace interface.

For example now we are developing same libraries and applications that using those files. What do you think to add on each driver one sysfs file called 'version' that will be updated when the userspace interface

is changed?

Unfortunately the chances are that an app won't read it so that doesn't get around abi changes.

Quoted 3 lines

Thanks,
Denis

Signature · 1 line
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
maintainer
#2 lore raw
Quoted 9 lines · Jonathan Cameron
Quoted 6 lines · Denis CIOCCA

Hi Jonathan,

I think is a good thing do the porting some features inside the framework, but I think is also important don't change the userspace interface.

Quoted 6 lines
Quoted 5 lines

For example now we are developing same libraries and applications that using those files. What do you think to add on each driver one sysfs file called 'version' that will be updated when the userspace interface

is changed?

Unfortunately the chances are that an app won't read it so that doesn't get around abi changes.

btw, the intent with this series is not to change the userspace interface. If I have then it is a bug so please do point it out!

Quoted 5 lines
Quoted 4 lines

Thanks,
Denis