Re: [PATCH v11, 18/19] media: mtk-vcodec: Remove mtk_vcodec_release_dec_pm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 29/11/21 04:42, Yunfei Dong ha scritto:
There are only two lines in mtk_vcodec_release_dec_pm, using
pm_runtime_disable and put_device instead directly.

Move pm_runtime_enable outside mtk_vcodec_init_dec_pm to symmetry with
pm_runtime_disable, after that, rename mtk_vcodec_init_dec_pm to *_clk since
it only has clock operations now.

Signed-off-by: Yunfei Dong <yunfei.dong@xxxxxxxxxxxx>
Co-developed-by: Yong Wu <yong.wu@xxxxxxxxxxxx>
---
  .../media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c   | 10 +++++++---
  .../media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c    |  7 +++++--
  .../media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c    | 12 ++----------
  .../media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h    |  3 +--
  4 files changed, 15 insertions(+), 17 deletions(-)






Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux