diff for duplicates of <200811181401.34809.david-b@pacbell.net> diff --git a/a/1.txt b/N1/1.txt index e6c662d..8f907fb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,8 +14,8 @@ very compatible with the approach I took. - Dave -======== SNIP SNIP SNIP! -From: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> +==== SNIP SNIP SNIP! +From: David Brownell <dbrownell@users.sourceforge.net> Infrastructure supporting SMBALERT# interrupts and the related SMBus protocols. These are defined as "optional" by the SMBus spec. @@ -50,7 +50,7 @@ protocols. These are defined as "optional" by the SMBus spec. The IRQ driven code path is always enabled, if it's available. -Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> +Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> --- drivers/i2c/busses/i2c-gpio.c | 10 ++ drivers/i2c/i2c-core.c | 155 ++++++++++++++++++++++++++++++++++++++++ @@ -242,7 +242,7 @@ Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public + if (adap->irq > 0 && adap->ara) { + res = devm_request_irq(&adap->dev, adap->irq, smbus_irq, + 0, "smbus_alert", adap); -+ if (res == 0) { ++ if (res = 0) { + dev_info(&adap->dev, + "supports SMBALERT#, %s trigger\n", + adap->alert_edge_triggered @@ -331,3 +331,9 @@ Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public + struct work_struct alert; }; #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) + + +_______________________________________________ +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 65fd503..73b09e5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,9 @@ "ref\0200809231532.40083.david-b@pacbell.net\0" "ref\020081118091546.421d6b78@hyperion.delvare\0" "ref\020081118091546.421d6b78-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org\0" - "From\0David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>\0" - "Subject\0Re: [patch 2.6.27-rc7] i2c: smbalert# support\0" - "Date\0Tue, 18 Nov 2008 14:01:34 -0800\0" + "From\0David Brownell <david-b@pacbell.net>\0" + "Subject\0Re: [lm-sensors] [patch 2.6.27-rc7] i2c: smbalert# support\0" + "Date\0Tue, 18 Nov 2008 22:01:34 +0000\0" "To\0Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>\0" "Cc\0Linux I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>" " lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org\0" @@ -26,8 +26,8 @@ "- Dave\n" "\n" "\n" - "======== SNIP SNIP SNIP!\n" - "From: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>\n" + "==== SNIP SNIP SNIP!\n" + "From: David Brownell <dbrownell@users.sourceforge.net>\n" "\n" "Infrastructure supporting SMBALERT# interrupts and the related SMBus\n" "protocols. These are defined as \"optional\" by the SMBus spec.\n" @@ -62,7 +62,7 @@ "\n" "The IRQ driven code path is always enabled, if it's available.\n" "\n" - "Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>\n" + "Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>\n" "---\n" " drivers/i2c/busses/i2c-gpio.c | 10 ++\n" " drivers/i2c/i2c-core.c | 155 ++++++++++++++++++++++++++++++++++++++++\n" @@ -254,7 +254,7 @@ "+\tif (adap->irq > 0 && adap->ara) {\n" "+\t\tres = devm_request_irq(&adap->dev, adap->irq, smbus_irq,\n" "+\t\t\t\t0, \"smbus_alert\", adap);\n" - "+\t\tif (res == 0) {\n" + "+\t\tif (res = 0) {\n" "+\t\t\tdev_info(&adap->dev,\n" "+\t\t\t\t\"supports SMBALERT#, %s trigger\\n\",\n" "+\t\t\t\tadap->alert_edge_triggered\n" @@ -342,6 +342,12 @@ "+\tstruct i2c_client\t*ara;\n" "+\tstruct work_struct\talert;\n" " };\n" - #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) + " #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)\n" + " \n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -12b94a58a6d11b891faf6dedd19efc22d34b2d68f9e6a756caa143a8999703cc +1f4c2db5e52d31f61f97c913431c63149b65928c7074fde5e9526b141b89844f
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.