A question about masks in sysfs

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

 



Hi,

I am wanting to add write support to the alarms mask sysfs entry for the 
adt7470 driver.

Before going forward with this, I had a question about consistency in 
this area.

In the other drivers I see that expose masks, it looks like they do this 
as decimal numbers (adm1026.c, w83627hf.c, w83781d.c).

The adt7470 driver already exposes the alarm mask, but instead of 
decimal it uses hex.

What would be the correct way of adding write support to this? Should it 
be converted to decimal to be consistent with other drivers, or should 
it remain in hex to prevent breaking any userspace code that may be 
relying on the current behaviour?


Thanks,
Joshua Scott��.n��������+%������w��{.n�����{��&��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux