[PATCH] w83791d - swap bit 1 and bit 13 in beep_enable

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

 



From: Charles Spirakis <bezaur at gmail.com>

The alarm and beep enable bits are close to being the same but bit 1 and
bit 13 are swapped. This patch swaps those bits on the beep enable side
so that user-mode doesn't need to know. Also, the w83791d official
documentation for the alarm bits doesn't seem to match reality so
update the driver documentation to reflect reality.  Patch was originally
submitted by Sven Anders.

Signed-off by: Sven Anders <anders at anduras.de>
Signed-off by: Charles Spirakis <bezaur at gmail.com>

---

 Documentation/hwmon/w83791d |   43 ++++++++++++++++++++++++++-----------------
 drivers/hwmon/w83791d.c     |   33 ++++++++++++++++++++++++++++++---
 2 files changed, 56 insertions(+), 20 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w83791d_update.patch
Type: text/x-patch
Size: 5790 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060803/b5693a78/attachment.bin 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux