diff for duplicates of <1109968592905@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 09fea29..89e5540 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -70,7 +70,7 @@ diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c - * disable pwm control to protect the user. */ - enable_pwm_interface = 1; - tmp = it87_read_value(new_client, IT87_REG_FAN_CTL); -- if ((tmp & 0x87) = 0) { +- if ((tmp & 0x87) == 0) { - enable_pwm_interface = 0; - dev_info(&new_client->dev, - "detected broken BIOS defaults, disabling pwm interface"); @@ -90,7 +90,7 @@ diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c + * and polarity set to active low is sign that this is the case so we + * disable pwm control to protect the user. */ + int tmp = it87_read_value(client, IT87_REG_FAN_CTL); -+ if ((tmp & 0x87) = 0) { ++ if ((tmp & 0x87) == 0) { + if (fix_pwm_polarity) { + /* The user asks us to attempt a chip reconfiguration. + * This means switching to active high polarity and diff --git a/a/content_digest b/N1/content_digest index 0785b86..b9b676f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\011099685921394@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" + "From\0Greg KH <greg@kroah.com>\0" "Subject\0[PATCH] I2C: Allow it87 pwm reconfiguration\0" - "Date\0Thu, 19 May 2005 06:25:41 +0000\0" + "Date\0Fri, 4 Mar 2005 12:36:33 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "Cc\0khali@linux-fr.org\0" @@ -79,7 +79,7 @@ "-\t * disable pwm control to protect the user. */\n" "-\tenable_pwm_interface = 1;\n" "-\ttmp = it87_read_value(new_client, IT87_REG_FAN_CTL);\n" - "-\tif ((tmp & 0x87) = 0) {\n" + "-\tif ((tmp & 0x87) == 0) {\n" "-\t\tenable_pwm_interface = 0;\n" "-\t\tdev_info(&new_client->dev,\n" "-\t\t\t\"detected broken BIOS defaults, disabling pwm interface\");\n" @@ -99,7 +99,7 @@ "+\t * and polarity set to active low is sign that this is the case so we\n" "+\t * disable pwm control to protect the user. */\n" "+\tint tmp = it87_read_value(client, IT87_REG_FAN_CTL);\n" - "+\tif ((tmp & 0x87) = 0) {\n" + "+\tif ((tmp & 0x87) == 0) {\n" "+\t\tif (fix_pwm_polarity) {\n" "+\t\t\t/* The user asks us to attempt a chip reconfiguration.\n" "+\t\t\t * This means switching to active high polarity and\n" @@ -155,4 +155,4 @@ " \n" module_init(sm_it87_init); -26a230a1a4a0b9d83f2a37398916bb9989f794dbfc8d896edb720aee8a73be8f +5ee116c25630bdd469bb41b2322e4a4f02bb5cf1c41c23d4f87309f0eeaa519c
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.