From: Bryan O'Donoghue Date: Fri, 2 Apr 2021 10:06:39 +0000 (+0200) Subject: media: venus: pm: Hook 6xx pm ops into 4xx pm ops X-Git-Tag: v5.15~1266^2~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f24afa95bb2e401e9267c722ec109808a0537e60;p=platform%2Fkernel%2Flinux-starfive.git media: venus: pm: Hook 6xx pm ops into 4xx pm ops At this time there is no need to differentiate between the two, we can reuse the 4xx pm ops callback structure for 6xx. Signed-off-by: Bryan O'Donoghue Signed-off-by: Stanimir Varbanov Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_helpers.c index ccbbac2..a23e490 100644 --- a/drivers/media/platform/qcom/venus/pm_helpers.c +++ b/drivers/media/platform/qcom/venus/pm_helpers.c @@ -1122,6 +1122,7 @@ const struct venus_pm_ops *venus_pm_get(enum hfi_version version) case HFI_VERSION_3XX: return &pm_ops_v3; case HFI_VERSION_4XX: + case HFI_VERSION_6XX: return &pm_ops_v4; }