diff for duplicates of <5271C4C4.2040308@nvidia.com> diff --git a/a/1.txt b/N1/1.txt index b4c0594..fed4510 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -46,10 +46,10 @@ On 10/30/2013 11:41 PM, Jean Delvare wrote: >> + >> + lm90_read_reg(client, LM90_REG_R_STATUS, &status); >> + ->> + if (data->kind == max6696) +>> + if (data->kind = max6696) >> + lm90_read_reg(client, MAX6696_REG_R_STATUS2, &status2); >> + ->> + if ((status & 0x7f) == 0 && (status2 & 0xfe) == 0) +>> + if ((status & 0x7f) = 0 && (status2 & 0xfe) = 0) >> + return false; >> + >> + if (status & (LM90_STATUS_LLOW | LM90_STATUS_LHIGH | LM90_STATUS_LTHRM)) @@ -81,10 +81,10 @@ On 10/30/2013 11:41 PM, Jean Delvare wrote: >> - >> - lm90_read_reg(client, LM90_REG_R_STATUS, &alarms); >> - ->> - if (data->kind == max6696) +>> - if (data->kind = max6696) >> - lm90_read_reg(client, MAX6696_REG_R_STATUS2, &alarms2); >> - ->> - if ((alarms & 0x7f) == 0 && (alarms2 & 0xfe) == 0) { +>> - if ((alarms & 0x7f) = 0 && (alarms2 & 0xfe) = 0) { >> - dev_info(&client->dev, "Everything OK\n"); >> - } else { >> - if (alarms & 0x61) @@ -140,4 +140,10 @@ Wei. >> } >> } >> -> +> + + +_______________________________________________ +lm-sensors mailing list +lm-sensors@lm-sensors.org +http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index 0be0a79..7f372c9 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\01375856306-14415-2-git-send-email-wni@nvidia.com\0" "ref\020131030164113.1396964e@endymion.delvare\0" "From\0Wei Ni <wni@nvidia.com>\0" - "Subject\0Re: [PATCH v4 1/3] hwmon: (lm90) Define status bits\0" - "Date\0Thu, 31 Oct 2013 10:47:32 +0800\0" + "Subject\0Re: [lm-sensors] [PATCH v4 1/3] hwmon: (lm90) Define status bits\0" + "Date\0Thu, 31 Oct 2013 02:47:32 +0000\0" "To\0Jean Delvare <khali@linux-fr.org>\0" "Cc\0linux@roeck-us.net <linux@roeck-us.net>" lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org> @@ -59,10 +59,10 @@ ">> +\n" ">> +\tlm90_read_reg(client, LM90_REG_R_STATUS, &status);\n" ">> +\n" - ">> +\tif (data->kind == max6696)\n" + ">> +\tif (data->kind = max6696)\n" ">> +\t\tlm90_read_reg(client, MAX6696_REG_R_STATUS2, &status2);\n" ">> +\n" - ">> +\tif ((status & 0x7f) == 0 && (status2 & 0xfe) == 0)\n" + ">> +\tif ((status & 0x7f) = 0 && (status2 & 0xfe) = 0)\n" ">> +\t\treturn false;\n" ">> +\n" ">> +\tif (status & (LM90_STATUS_LLOW | LM90_STATUS_LHIGH | LM90_STATUS_LTHRM))\n" @@ -94,10 +94,10 @@ ">> -\n" ">> -\tlm90_read_reg(client, LM90_REG_R_STATUS, &alarms);\n" ">> -\n" - ">> -\tif (data->kind == max6696)\n" + ">> -\tif (data->kind = max6696)\n" ">> -\t\tlm90_read_reg(client, MAX6696_REG_R_STATUS2, &alarms2);\n" ">> -\n" - ">> -\tif ((alarms & 0x7f) == 0 && (alarms2 & 0xfe) == 0) {\n" + ">> -\tif ((alarms & 0x7f) = 0 && (alarms2 & 0xfe) = 0) {\n" ">> -\t\tdev_info(&client->dev, \"Everything OK\\n\");\n" ">> -\t} else {\n" ">> -\t\tif (alarms & 0x61)\n" @@ -153,6 +153,12 @@ ">> \t}\n" ">> }\n" ">> \n" - > + "> \n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -fcea85a676e2a4b4fc73d9cd864f37e20ccb303b89093e7b2ba101ba240e6a47 +f31febf1b5659ecf29089627e7d70e7babc5b4700d313d5d24cc9066d78531dc
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.