diff for duplicates of <53C51823.4000104@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 5bf0550..94c9d31 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -60,8 +60,7 @@ On 07/15/2014 05:21 PM, Kamil Debski wrote: > +++ b/Documentation/hwmon/pwm-fan > @@ -0,0 +1,17 @@ > +Kernel driver pwm-fan -> +===================== -> + +> +==========> + > +This driver enables the use of a PWM module to drive a fan. It uses the > +generic PWM interface thus it is hardware independent. It can be used on > +many SoCs, as long as the SoC supplies a PWM line driver that exposes @@ -166,10 +165,10 @@ On 07/15/2014 05:21 PM, Kamil Debski wrote: > + > + mutex_lock(&ctx->lock); > + -> + if (ctx->pwm_value == pwm) +> + if (ctx->pwm_value = pwm) > + goto exit_set_pwm; > + -> + if (pwm == 0) { +> + if (pwm = 0) { > + pwm_disable(ctx->pwm); > + ctx->pwm_value = pwm; > + goto exit_set_pwm; @@ -182,7 +181,7 @@ On 07/15/2014 05:21 PM, Kamil Debski wrote: > + goto exit_set_pwm; > + } > + -> + if (ctx->pwm_value == 0) +> + if (ctx->pwm_value = 0) > + ret = pwm_enable(ctx->pwm); > + if (ret) { > + count = ret; /* Set the return value */ @@ -348,3 +347,9 @@ of using 'of_match_ptr' here. -- Regards, Varka Bhadram. + + +_______________________________________________ +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 0016369..cd357db 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01405425092-553-1-git-send-email-k.debski@samsung.com\0" "From\0Varka Bhadram <varkabhadram@gmail.com>\0" - "Subject\0Re: [PATCH v3] hwmon: pwm-fan: Add pwm-fan driver\0" - "Date\0Tue, 15 Jul 2014 17:31:39 +0530\0" + "Subject\0Re: [lm-sensors] [PATCH v3] hwmon: pwm-fan: Add pwm-fan driver\0" + "Date\0Tue, 15 Jul 2014 12:13:39 +0000\0" "To\0Kamil Debski <k.debski@samsung.com>" devicetree@vger.kernel.org linux-kernel@vger.kernel.org @@ -75,8 +75,7 @@ "> +++ b/Documentation/hwmon/pwm-fan\n" "> @@ -0,0 +1,17 @@\n" "> +Kernel driver pwm-fan\n" - "> +=====================\n" - "> +\n" + "> +==========> +\n" "> +This driver enables the use of a PWM module to drive a fan. It uses the\n" "> +generic PWM interface thus it is hardware independent. It can be used on\n" "> +many SoCs, as long as the SoC supplies a PWM line driver that exposes\n" @@ -181,10 +180,10 @@ "> +\n" "> +\tmutex_lock(&ctx->lock);\n" "> +\n" - "> +\tif (ctx->pwm_value == pwm)\n" + "> +\tif (ctx->pwm_value = pwm)\n" "> +\t\tgoto exit_set_pwm;\n" "> +\n" - "> +\tif (pwm == 0) {\n" + "> +\tif (pwm = 0) {\n" "> +\t\tpwm_disable(ctx->pwm);\n" "> +\t\tctx->pwm_value = pwm;\n" "> +\t\tgoto exit_set_pwm;\n" @@ -197,7 +196,7 @@ "> +\t\tgoto exit_set_pwm;\n" "> +\t}\n" "> +\n" - "> +\tif (ctx->pwm_value == 0)\n" + "> +\tif (ctx->pwm_value = 0)\n" "> +\t\tret = pwm_enable(ctx->pwm);\n" "> +\tif (ret) {\n" "> +\t\tcount = ret; /* Set the return value */\n" @@ -362,6 +361,12 @@ "\n" "-- \n" "Regards,\n" - Varka Bhadram. + "Varka Bhadram.\n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -049d95a871f184c20fcb5f8a590d551d074ed89d11c97b52bea7520ad237d1b3 +669c4f5654f8e8b17ca4388d2862d31c098b6c2a14eaa962fafa72538aabfd18
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.