* Re: [PATCH v6 1/7] drm/stm: ltdc: Fix leak of px clk enable in some error paths
[not found] ` <1500277223-29553-2-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
@ 2017-07-29 14:32 ` Archit Taneja
2017-07-30 9:10 ` Philippe CORNU
0 siblings, 1 reply; 2+ messages in thread
From: Archit Taneja @ 2017-07-29 14:32 UTC (permalink / raw)
To: Philippe CORNU, Alexandre Torgue, Thierry Reding, Maxime Coquelin,
Russell King, Mark Rutland, Rob Herring, Arnd Bergmann,
Benjamin Gaignard, Yannick Fertre, Neil Armstrong, Eric Anholt,
Chris Zhong, Andrzej Hajda, Xinliang Liu,
zourongrong-Re5JQEeQqe8AvxtiuMwx3w, Xinwei Kong, Chen Feng,
Mark Yao
Cc: Mickael Reulier, Gabriel Fernandez, Vincent Abriou,
Fabien Dessenne, Ludovic Barre,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
devicetree-u79uwXL29TY76Z2rM5mHXA, Linux ARM Kernel,
linux-next-u79uwXL29TY76Z2rM5mHXA, sfr-3FnU+UHB4dNDw9hX6IcOSA,
Daniel Vetter, David Airlie
Hi Philippe,
On 07/17/2017 01:10 PM, Philippe CORNU wrote:
> The pixel clock gets enabled early during init, since it's required
> in order to read registers. This pixel clock must be disabled if
> errors during this init phase.
>
This patch was pulled in to drm-misc-next, but it lacks your Sign-off.
It looks like the Ack and the Sign-off got accidentally mixed up
Can you please reply to this mail with your "Signed-off-by" so that
we have proof of it on dri-devel?
Thanks,
Archit
> Signed-off-by: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public•gmane.org>
> Acked-by: Philippe Cornu <philippe.cornu-qxv4g6HH51o@public•gmane.org>
> ---
> drivers/gpu/drm/stm/ltdc.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
> index 5331760..7f64d5a 100644
> --- a/drivers/gpu/drm/stm/ltdc.c
> +++ b/drivers/gpu/drm/stm/ltdc.c
> @@ -1045,13 +1045,15 @@ int ltdc_load(struct drm_device *ddev)
>
> if (of_address_to_resource(np, 0, &res)) {
> DRM_ERROR("Unable to get resource\n");
> - return -ENODEV;
> + ret = -ENODEV;
> + goto err;
> }
>
> ldev->regs = devm_ioremap_resource(dev, &res);
> if (IS_ERR(ldev->regs)) {
> DRM_ERROR("Unable to get ltdc registers\n");
> - return PTR_ERR(ldev->regs);
> + ret = PTR_ERR(ldev->regs);
> + goto err;
> }
>
> for (i = 0; i < MAX_IRQ; i++) {
> @@ -1064,7 +1066,7 @@ int ltdc_load(struct drm_device *ddev)
> dev_name(dev), ddev);
> if (ret) {
> DRM_ERROR("Failed to register LTDC interrupt\n");
> - return ret;
> + goto err;
> }
> }
>
> @@ -1079,7 +1081,7 @@ int ltdc_load(struct drm_device *ddev)
> if (ret) {
> DRM_ERROR("hardware identifier (0x%08x) not supported!\n",
> ldev->caps.hw_version);
> - return ret;
> + goto err;
> }
>
> DRM_INFO("ltdc hw version 0x%08x - ready\n", ldev->caps.hw_version);
>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v6 1/7] drm/stm: ltdc: Fix leak of px clk enable in some error paths
2017-07-29 14:32 ` [PATCH v6 1/7] drm/stm: ltdc: Fix leak of px clk enable in some error paths Archit Taneja
@ 2017-07-30 9:10 ` Philippe CORNU
0 siblings, 0 replies; 2+ messages in thread
From: Philippe CORNU @ 2017-07-30 9:10 UTC (permalink / raw)
To: Archit Taneja, Alexandre TORGUE, Thierry Reding, David Airlie,
Maxime Coquelin, Russell King, Mark Rutland, Rob Herring,
Arnd Bergmann, Benjamin Gaignard, Yannick FERTRE, Neil Armstrong,
Eric Anholt, Chris Zhong, Andrzej Hajda, Xinliang Liu,
zourongrong@gmail•com, Xinwei Kong, Chen Feng, Mark Yao
Cc: Linux ARM Kernel, devicetree@vger•kernel.org,
sfr@canb•auug.org.au, Daniel Vetter,
dri-devel@lists•freedesktop.org, linux-next@vger•kernel.org,
Fabien DESSENNE, Mickael REULIER, Vincent ABRIOU,
Gabriel FERNANDEZ, Ludovic BARRE
On 07/29/2017 04:32 PM, Archit Taneja wrote:
> Hi Philippe,
>
> On 07/17/2017 01:10 PM, Philippe CORNU wrote:
>> The pixel clock gets enabled early during init, since it's required
>> in order to read registers. This pixel clock must be disabled if
>> errors during this init phase.
>>
>
> This patch was pulled in to drm-misc-next, but it lacks your Sign-off.
> It looks like the Ack and the Sign-off got accidentally mixed up
>
Hi Archit,
This patch is from Eric that is why I put his "signed-off-by" and I
"acked" it to confirm that the patch is fine to me :-)
Nevertheless, as I am the patch "author" in the git tree, I confirm with
my my below signed-off-by:
Signed-off-by: Philippe Cornu <philippe.cornu@st•com>
Many thanks
Philippe :-)
> Can you please reply to this mail with your "Signed-off-by" so that
> we have proof of it on dri-devel?
>
> Thanks,
> Archit
>
>> Signed-off-by: Eric Anholt <eric@anholt•net>
>> Acked-by: Philippe Cornu <philippe.cornu@st•com>
>> ---
>> drivers/gpu/drm/stm/ltdc.c | 10 ++++++----
>> 1 file changed, 6 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
>> index 5331760..7f64d5a 100644
>> --- a/drivers/gpu/drm/stm/ltdc.c
>> +++ b/drivers/gpu/drm/stm/ltdc.c
>> @@ -1045,13 +1045,15 @@ int ltdc_load(struct drm_device *ddev)
>> if (of_address_to_resource(np, 0, &res)) {
>> DRM_ERROR("Unable to get resource\n");
>> - return -ENODEV;
>> + ret = -ENODEV;
>> + goto err;
>> }
>> ldev->regs = devm_ioremap_resource(dev, &res);
>> if (IS_ERR(ldev->regs)) {
>> DRM_ERROR("Unable to get ltdc registers\n");
>> - return PTR_ERR(ldev->regs);
>> + ret = PTR_ERR(ldev->regs);
>> + goto err;
>> }
>> for (i = 0; i < MAX_IRQ; i++) {
>> @@ -1064,7 +1066,7 @@ int ltdc_load(struct drm_device *ddev)
>> dev_name(dev), ddev);
>> if (ret) {
>> DRM_ERROR("Failed to register LTDC interrupt\n");
>> - return ret;
>> + goto err;
>> }
>> }
>> @@ -1079,7 +1081,7 @@ int ltdc_load(struct drm_device *ddev)
>> if (ret) {
>> DRM_ERROR("hardware identifier (0x%08x) not supported!\n",
>> ldev->caps.hw_version);
>> - return ret;
>> + goto err;
>> }
>> DRM_INFO("ltdc hw version 0x%08x - ready\n",
>> ldev->caps.hw_version);
>>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists•freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-30 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1500277223-29553-1-git-send-email-philippe.cornu@st.com>
[not found] ` <1500277223-29553-2-git-send-email-philippe.cornu@st.com>
[not found] ` <1500277223-29553-2-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-07-29 14:32 ` [PATCH v6 1/7] drm/stm: ltdc: Fix leak of px clk enable in some error paths Archit Taneja
2017-07-30 9:10 ` Philippe CORNU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox