- lm_sensors-r5930-fix-DDR3-SPD-detection.patch: Fix typo in

comparison.

OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=35
This commit is contained in:
Jean Delvare 2011-02-17 20:08:13 +00:00 committed by Git OBS Bridge
parent 08ef91a592
commit 4b58cb093d
2 changed files with 7 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Clemens Ladisch.
+ $checksum &= 0xff;
+
+ return 8 if $checksum == i2c_smbus_read_byte_data($file, 63);
+ } elsif ($device_type => 9 && $device_type <= 11) {
+ } elsif ($device_type >= 9 && $device_type <= 11) {
+ # see JEDEC 21-C 4.1.2.11 2.4
+ my $crc_coverage = i2c_smbus_read_byte_data($file, 0);
+ $crc_coverage = ($crc_coverage & 0x80) ? 117 : 126;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 17 21:07:45 CET 2011 - jdelvare@suse.de
- lm_sensors-r5930-fix-DDR3-SPD-detection.patch: Fix typo in
comparison.
-------------------------------------------------------------------
Thu Feb 17 10:13:12 CET 2011 - jdelvare@suse.de