[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d235ba6-213a-598f-e18f-93b51e535285@collabora.com>
Date: Wed, 1 Dec 2021 13:08:58 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Yunfei Dong <yunfei.dong@...iatek.com>,
Alexandre Courbot <acourbot@...omium.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Tzung-Bi Shih <tzungbi@...omium.org>,
Tiffany Lin <tiffany.lin@...iatek.com>,
Andrew-CT Chen <andrew-ct.chen@...iatek.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Tomasz Figa <tfiga@...gle.com>
Cc: Hsin-Yi Wang <hsinyi@...omium.org>,
Fritz Koenig <frkoenig@...omium.org>,
Dafna Hirschfeld <dafna.hirschfeld@...labora.com>,
Benjamin Gaignard <benjamin.gaignard@...labora.com>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Irui Wang <irui.wang@...iatek.com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
srv_heupstream@...iatek.com, linux-mediatek@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v11, 19/19] media: mtk-vcodec: Remove
mtk_vcodec_release_enc_pm
Il 29/11/21 04:42, Yunfei Dong ha scritto:
> There are only two lines in mtk_vcodec_release_enc_pm, using
> pm_runtime_disable and put_device instead directly.
>
> Move pm_runtime_enable outside mtk_vcodec_release_enc_pm to symmetry with
> pm_runtime_disable, after that, rename mtk_vcodec_init_enc_pm to *_clk since
> it only has clock operations now.
>
> Signed-off-by: Yunfei Dong <yunfei.dong@...iatek.com>
> Co-developed-by: Yong Wu <yong.wu@...iatek.com>
> ---
> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 9 ++++++---
> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c | 9 +--------
> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h | 3 +--
> 3 files changed, 8 insertions(+), 13 deletions(-)
>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists