diff for duplicates of <560CE816.1060307@atmel.com> diff --git a/a/1.txt b/N1/1.txt index f313e72..441e3de 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -5,13 +5,13 @@ Le 30/09/2015 21:29, Robert Jarzmik a écrit : >> This commit breaks legacy platforms, for which : >> (a) no pwm table is added (legacy platforms) >> (b) in this case, in pwm_get(), pmw_lookup_list is empty, and therefore ->> chosen = NULL, and therefore pwm_get() returns NULL, and pwm_get() +>> chosen == NULL, and therefore pwm_get() returns NULL, and pwm_get() >> returns -EPROBE_DEFER >> (c) as a consequence, this code is unreachable in pwm_bl.c : >> if (IS_ERR(pb->pwm)) { >> ret = PTR_ERR(pb->pwm); >> dev_info(&pdev->dev, "%s:%d(): %d\n", __func__, __LINE__, ret); ->> if (ret = -EPROBE_DEFER) +>> if (ret == -EPROBE_DEFER) >> goto err_alloc; >> >> dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n"); @@ -40,7 +40,7 @@ index eff379b..00483d4 100644 pb->pwm = devm_pwm_get(&pdev->dev, NULL); if (IS_ERR(pb->pwm)) { ret = PTR_ERR(pb->pwm); -- if (ret = -EPROBE_DEFER) +- if (ret == -EPROBE_DEFER) - goto err_alloc; dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n"); diff --git a/a/content_digest b/N1/content_digest index fef2c7a..68aa4c1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\087bncjemdk.fsf@belgarion.home\0" "From\0Nicolas Ferre <nicolas.ferre@atmel.com>\0" "Subject\0Re: [PATCH] Revert \"backlight: pwm: Handle EPROBE_DEFER while requesting the PWM\"\0" - "Date\0Thu, 01 Oct 2015 08:00:22 +0000\0" + "Date\0Thu, 1 Oct 2015 10:00:22 +0200\0" "To\0Robert Jarzmik <robert.jarzmik@free.fr>" Thierry Reding <thierry.reding@gmail.com> linux-pwm@vger.kernel.org @@ -23,13 +23,13 @@ ">> This commit breaks legacy platforms, for which :\n" ">> (a) no pwm table is added (legacy platforms)\n" ">> (b) in this case, in pwm_get(), pmw_lookup_list is empty, and therefore\n" - ">> chosen = NULL, and therefore pwm_get() returns NULL, and pwm_get()\n" + ">> chosen == NULL, and therefore pwm_get() returns NULL, and pwm_get()\n" ">> returns -EPROBE_DEFER\n" ">> (c) as a consequence, this code is unreachable in pwm_bl.c :\n" ">> if (IS_ERR(pb->pwm)) {\n" ">> \tret = PTR_ERR(pb->pwm);\n" ">> \tdev_info(&pdev->dev, \"%s:%d(): %d\\n\", __func__, __LINE__, ret);\n" - ">> \tif (ret = -EPROBE_DEFER)\n" + ">> \tif (ret == -EPROBE_DEFER)\n" ">> \t\tgoto err_alloc;\n" ">>\n" ">> \tdev_err(&pdev->dev, \"unable to request PWM, trying legacy API\\n\");\n" @@ -58,7 +58,7 @@ " \tpb->pwm = devm_pwm_get(&pdev->dev, NULL);\n" " \tif (IS_ERR(pb->pwm)) {\n" " \t\tret = PTR_ERR(pb->pwm);\n" - "-\t\tif (ret = -EPROBE_DEFER)\n" + "-\t\tif (ret == -EPROBE_DEFER)\n" "-\t\t\tgoto err_alloc;\n" " \n" " \t\tdev_err(&pdev->dev, \"unable to request PWM, trying legacy API\\n\");\n" @@ -80,4 +80,4 @@ "-- \n" Nicolas Ferre -d9b9f580a6b0f34995e0e641378db827157c4c022b18b8b3a711b2c55137fd45 +13c62d2108a75584258bd88dac7919c01b45ffdb89421f256b33fb2812ba5546
diff --git a/a/1.txt b/N2/1.txt index f313e72..441e3de 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -5,13 +5,13 @@ Le 30/09/2015 21:29, Robert Jarzmik a écrit : >> This commit breaks legacy platforms, for which : >> (a) no pwm table is added (legacy platforms) >> (b) in this case, in pwm_get(), pmw_lookup_list is empty, and therefore ->> chosen = NULL, and therefore pwm_get() returns NULL, and pwm_get() +>> chosen == NULL, and therefore pwm_get() returns NULL, and pwm_get() >> returns -EPROBE_DEFER >> (c) as a consequence, this code is unreachable in pwm_bl.c : >> if (IS_ERR(pb->pwm)) { >> ret = PTR_ERR(pb->pwm); >> dev_info(&pdev->dev, "%s:%d(): %d\n", __func__, __LINE__, ret); ->> if (ret = -EPROBE_DEFER) +>> if (ret == -EPROBE_DEFER) >> goto err_alloc; >> >> dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n"); @@ -40,7 +40,7 @@ index eff379b..00483d4 100644 pb->pwm = devm_pwm_get(&pdev->dev, NULL); if (IS_ERR(pb->pwm)) { ret = PTR_ERR(pb->pwm); -- if (ret = -EPROBE_DEFER) +- if (ret == -EPROBE_DEFER) - goto err_alloc; dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n"); diff --git a/a/content_digest b/N2/content_digest index fef2c7a..2cf18e3 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,18 +2,18 @@ "ref\087bncjemdk.fsf@belgarion.home\0" "From\0Nicolas Ferre <nicolas.ferre@atmel.com>\0" "Subject\0Re: [PATCH] Revert \"backlight: pwm: Handle EPROBE_DEFER while requesting the PWM\"\0" - "Date\0Thu, 01 Oct 2015 08:00:22 +0000\0" + "Date\0Thu, 1 Oct 2015 10:00:22 +0200\0" "To\0Robert Jarzmik <robert.jarzmik@free.fr>" Thierry Reding <thierry.reding@gmail.com> - linux-pwm@vger.kernel.org + <linux-pwm@vger.kernel.org> Boris BREZILLON <boris.brezillon@free-electrons.com> " Alexandre Belloni <alexandre.belloni@free-electrons.com>\0" "Cc\0Jingoo Han <jingoohan1@gmail.com>" Lee Jones <lee.jones@linaro.org> Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Tomi Valkeinen <tomi.valkeinen@ti.com> - linux-fbdev@vger.kernel.org - " linux-kernel@vger.kernel.org\0" + <linux-fbdev@vger.kernel.org> + " <linux-kernel@vger.kernel.org>\0" "\00:1\0" "b\0" "Le 30/09/2015 21:29, Robert Jarzmik a \303\251crit :\n" @@ -23,13 +23,13 @@ ">> This commit breaks legacy platforms, for which :\n" ">> (a) no pwm table is added (legacy platforms)\n" ">> (b) in this case, in pwm_get(), pmw_lookup_list is empty, and therefore\n" - ">> chosen = NULL, and therefore pwm_get() returns NULL, and pwm_get()\n" + ">> chosen == NULL, and therefore pwm_get() returns NULL, and pwm_get()\n" ">> returns -EPROBE_DEFER\n" ">> (c) as a consequence, this code is unreachable in pwm_bl.c :\n" ">> if (IS_ERR(pb->pwm)) {\n" ">> \tret = PTR_ERR(pb->pwm);\n" ">> \tdev_info(&pdev->dev, \"%s:%d(): %d\\n\", __func__, __LINE__, ret);\n" - ">> \tif (ret = -EPROBE_DEFER)\n" + ">> \tif (ret == -EPROBE_DEFER)\n" ">> \t\tgoto err_alloc;\n" ">>\n" ">> \tdev_err(&pdev->dev, \"unable to request PWM, trying legacy API\\n\");\n" @@ -58,7 +58,7 @@ " \tpb->pwm = devm_pwm_get(&pdev->dev, NULL);\n" " \tif (IS_ERR(pb->pwm)) {\n" " \t\tret = PTR_ERR(pb->pwm);\n" - "-\t\tif (ret = -EPROBE_DEFER)\n" + "-\t\tif (ret == -EPROBE_DEFER)\n" "-\t\t\tgoto err_alloc;\n" " \n" " \t\tdev_err(&pdev->dev, \"unable to request PWM, trying legacy API\\n\");\n" @@ -80,4 +80,4 @@ "-- \n" Nicolas Ferre -d9b9f580a6b0f34995e0e641378db827157c4c022b18b8b3a711b2c55137fd45 +3257ffefc41d75b1ed25d9e5cdec9b12b7fcfbe4210da47d48a8b992e73e6b7b
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.