aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sr_ioctl.c
diff options
context:
space:
mode:
authorJuerg Haefliger <juergh@gmail.com>2007-07-20 14:16:47 -0700
committerMark M. Hoffman <mhoffman@lightlink.com>2007-07-30 21:07:23 -0400
commitc0f31403fe87cd2813dabb9b33107ceb56b84667 (patch)
tree52897e19f487216fdcfa1c0c997360560dd9badf /drivers/scsi/sr_ioctl.c
parentd0546128980c18748010c758903b02909e634830 (diff)
hwmon: fix dme1737 temp fault attribute
Fix temp?_fault attribute. The temp was incorrectly compared against 0x0800 rather than 0x8000. Only the upper 8 bits are compared as the datasheet doesn't specify what happens to the lower bits in case of a diode fault. Signed-off-by: Juerg Haefliger <juergh at gmail.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/scsi/sr_ioctl.c')
0 files changed, 0 insertions, 0 deletions