diff for duplicates of <20101111000159.GA22073@ericsson.com> diff --git a/a/1.txt b/N1/1.txt index 8ba60f6..34e98b0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -427,7 +427,7 @@ Returned error ignored. > + twl4030_madc_write(the_madc, method->avg, ch_lsb); > + } > + -> + if (req->type == TWL4030_MADC_IRQ_ONESHOT && req->func_cb != NULL) { +> + if (req->type = TWL4030_MADC_IRQ_ONESHOT && req->func_cb != NULL) { > + twl4030_madc_set_irq(the_madc, req); > + twl4030_madc_start_conversion(the_madc, req->method); > + the_madc->requests[req->method].active = 1; @@ -436,7 +436,7 @@ Returned error ignored. > + } > + > + /* With RT method we should not be here anymore */ -> + if (req->method == TWL4030_MADC_RT) { +> + if (req->method = TWL4030_MADC_RT) { > + ret = -EINVAL; > + goto out; > + } @@ -596,9 +596,9 @@ Returned error ignored. > + } You can check that before allocating memory. -> + madc->imr = (pdata->irq_line == 1) ? +> + madc->imr = (pdata->irq_line = 1) ? > + TWL4030_MADC_IMR1 : TWL4030_MADC_IMR2; -> + madc->isr = (pdata->irq_line == 1) ? +> + madc->isr = (pdata->irq_line = 1) ? > + TWL4030_MADC_ISR1 : TWL4030_MADC_ISR2; > + twl4030_madc_set_power(madc, 1); > + @@ -850,4 +850,9 @@ Please no tabs after #define. > +#endif > -- > 1.7.0.4 -> +> + +_______________________________________________ +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 bcda4e2..b5bc444 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01289294457-5330-1-git-send-email-j-keerthy@ti.com\0" "From\0Guenter Roeck <guenter.roeck@ericsson.com>\0" - "Subject\0Re: [PATCH V2] hwmon: twl4030: Driver for twl4030 madc module\0" - "Date\0Wed, 10 Nov 2010 16:01:59 -0800\0" + "Subject\0Re: [lm-sensors] [PATCH V2] hwmon: twl4030: Driver for twl4030 madc\0" + "Date\0Thu, 11 Nov 2010 00:01:59 +0000\0" "To\0Keerthy <j-keerthy@ti.com>\0" "Cc\0lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org>" sameo@linux.intel.com <sameo@linux.intel.com> @@ -442,7 +442,7 @@ "> + twl4030_madc_write(the_madc, method->avg, ch_lsb);\n" "> + }\n" "> +\n" - "> + if (req->type == TWL4030_MADC_IRQ_ONESHOT && req->func_cb != NULL) {\n" + "> + if (req->type = TWL4030_MADC_IRQ_ONESHOT && req->func_cb != NULL) {\n" "> + twl4030_madc_set_irq(the_madc, req);\n" "> + twl4030_madc_start_conversion(the_madc, req->method);\n" "> + the_madc->requests[req->method].active = 1;\n" @@ -451,7 +451,7 @@ "> + }\n" "> +\n" "> + /* With RT method we should not be here anymore */\n" - "> + if (req->method == TWL4030_MADC_RT) {\n" + "> + if (req->method = TWL4030_MADC_RT) {\n" "> + ret = -EINVAL;\n" "> + goto out;\n" "> + }\n" @@ -611,9 +611,9 @@ "> + }\n" "You can check that before allocating memory.\n" "\n" - "> + madc->imr = (pdata->irq_line == 1) ?\n" + "> + madc->imr = (pdata->irq_line = 1) ?\n" "> + TWL4030_MADC_IMR1 : TWL4030_MADC_IMR2;\n" - "> + madc->isr = (pdata->irq_line == 1) ?\n" + "> + madc->isr = (pdata->irq_line = 1) ?\n" "> + TWL4030_MADC_ISR1 : TWL4030_MADC_ISR2;\n" "> + twl4030_madc_set_power(madc, 1);\n" "> +\n" @@ -865,6 +865,11 @@ "> +#endif\n" "> --\n" "> 1.7.0.4\n" - > + "> \n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -e3f90cb8d4c758fd72f902478d2a82de71129b4550dca5bef545d454d4cf9c25 +10ee5b0fd9604b2596e4ff17a7db91af09cb490f06b818c850616ad5b3a9e5bb
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.