[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0dac055e-9d31-43ff-8584-57565f53e761@tuxon.dev>
Date: Mon, 2 Sep 2024 11:18:07 +0300
From: claudiu beznea <claudiu.beznea@...on.dev>
To: Dharma.B@...rochip.com, Manikandan.M@...rochip.com,
andrzej.hajda@...el.com, neil.armstrong@...aro.org, rfoss@...nel.org,
Laurent.pinchart@...asonboard.com, jonas@...boo.se,
jernej.skrabec@...il.com, maarten.lankhorst@...ux.intel.com,
mripard@...nel.org, tzimmermann@...e.de, airlied@...il.com, daniel@...ll.ch,
Hari.PrasathGE@...rochip.com
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] drm/bridge: microchip-lvds: Revert
clk_prepare_enable() in case of failure
On 02.09.2024 07:39, Dharma.B@...rochip.com wrote:
> On 27/08/24 9:42 pm, Claudiu Beznea wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>
>> In case pm_runtime_get_sync() fails the clock remains enabled. Disable
>> it to save power on this failure scenario.
>>
>> Fixes: 179b0769fc5f ("drm/bridge: add lvds controller support for sam9x7")
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@...on.dev>
> Reviewed-and-tested-by: Dharma Balasubiramani <dharma.b@...rochip.com>
This tag is not valid, AFAIK. You should use 2 different tags: Reviewed-by,
Tested-by
>> ---
>> drivers/gpu/drm/bridge/microchip-lvds.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/bridge/microchip-lvds.c b/drivers/gpu/drm/bridge/microchip-lvds.c
>> index b8313dad6072..027292ab0197 100644
>> --- a/drivers/gpu/drm/bridge/microchip-lvds.c
>> +++ b/drivers/gpu/drm/bridge/microchip-lvds.c
>> @@ -125,6 +125,7 @@ static void mchp_lvds_enable(struct drm_bridge *bridge)
>>
>> ret = pm_runtime_get_sync(lvds->dev);
>> if (ret < 0) {
>> + clk_disable_unprepare(lvds->pclk);
>> dev_err(lvds->dev, "failed to get pm runtime: %d\n", ret);
>> return;
>> }
>> --
>> 2.39.2
>>
>
>
Powered by blists - more mailing lists