w83791d - swap bit 1 and bit 13 in beep_enable
PATCH 1/1 w83791d - swap bit 1 and bit 13 in beep_enable
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
PATCH 1/1 w83791d - swap bit 1 and bit 13 in
Based on discussions with Jean, this patch is rescinded. A documentation only patch has been submitted to explain the fact that the beep enable and alarm bits are different and that it is up to user-mode to handle those differences.
Quoted 20 lines · Charles Spirakis
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(-)