From patchwork Wed Mar 27 18:08:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 783440 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F66914F9C3 for ; Wed, 27 Mar 2024 18:08:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711562934; cv=none; b=ChMr+KhrTq0uyrLREOgM4oyuJdljr2dEvgBE2XSiui1IDWbWaEOG8DdDBhzY9VpjLkiuovko0wus1dKGBCOueqLPUSidg1wpfQclSjdX6fuZBvE7fo3lpFS29VLuCly+chsFIN2yAX7v7v12UTmJIxE0enMBvvCzrT73teDGqhk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711562934; c=relaxed/simple; bh=2J4GFcJEb/ok1nMNM2COXn5TmyzEayEQndQUNkB4dqo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h7t86ftsq0VTfLN6rD8KCogBv+Z82+joH+Ly107GHSePsTfEAWvKRtzC4tjfRS4pPbVy+j1hzy/qXzIs+5SSrInvXRIgKOQsiBPZPNXFcL1eGrLQ9QznTt0ENoUbF3Z3gIDdnISsFoBTXsOkqLbbz3euiVkwH3wMHxaicYZMiwY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ID10q6LU; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ID10q6LU" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3417a3151c4so21021f8f.3 for ; Wed, 27 Mar 2024 11:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711562929; x=1712167729; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yKtma1geY0OQRnHtThKspHVPEwvhLZRJr0GFmraQ2AM=; b=ID10q6LU1ckyZB31C81axJhTEpxxDrxTzEY1LFFSo794UBXhXggRBWA9KhevGFSu7r FQxYgWJfo4VM3ou4aGovieHYZUwv7kdzJxQU42yOIUOqI6gKBL8m6AxnvpnsyPO14V+L ogRAv3DQTvb+yLO3BgwcgaZ+HV5ZEo1F6WerghIImikunto2NTKSkSu7ENNVyKzdyovY W1dO9pianpovlizjjTK2iVKKFw6wPxuuxlYveHWGMuLgJme+O6F3LCr4HJVmYp3rpWzc 3jXSrvXE3hUFle0HXec9PkTZw4F+AOVGs+xbBWtvs0+YM2JzXFK6tU+1dSHxW3rECpNT v5Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711562929; x=1712167729; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yKtma1geY0OQRnHtThKspHVPEwvhLZRJr0GFmraQ2AM=; b=YnHpoVF+6m2umTMQS5BVFik3gwfnzRBHnMu0eEr68L/anw1pG3Qw62l0evnYNoUtyY 1R8oUV7zlktQpwZ4+q3quaIn8NT8Ce3KmuztdzlQ050fcv9tB18nfbRFFIbdTFHB2rdl YjsdvvANnxwTE2dMJUzAGv3Qaztf6J73wQTCwryCpVm6ae9XagqHj0YcRYHFe2tpwXsW AS6HH2fB4EFfU5JQduArazLqnwYXZ7ahAGxd8kbioX6HP/fFqi+x9UBgIwx5mR6nvd1/ v3whWlbTVWx4MOAhcNBoDXZ5JkFylYbsFKmHyd2zPFs13h9m/U/uFAelDO3iO/gRt9Ve hl0w== X-Forwarded-Encrypted: i=1; AJvYcCUntnQtN6pVsNP2v7era67+RNdmDDnIgLUT/Qxnaov2DsgeimwCvbctQA6z8OTYUDXL2nobPgFtffdBSeLfi0gKEN86fGzncMw+K6w= X-Gm-Message-State: AOJu0Yy/TLHiGxfaChvvx3FTVzd5PIOZSyaDFLSAEyj0EV7QHC452WvZ auTyv6o2pGZEf056dcFtSgLskzTOgvUb0dHln35i/wL8lG0GBHqk5btL08+0+UU= X-Google-Smtp-Source: AGHT+IHsB3GLxgP5XIxcW+UPWTDprzqykwmuw33rABaQFAjPbcDfqcHvD3oXaa7/QCIBqaYiG6I5CA== X-Received: by 2002:a5d:6a92:0:b0:341:bd4e:68f5 with SMTP id s18-20020a5d6a92000000b00341bd4e68f5mr713223wru.5.1711562929578; Wed, 27 Mar 2024 11:08:49 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id z2-20020a1709060be200b00a45f2dc6795sm5702733ejg.137.2024.03.27.11.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 11:08:49 -0700 (PDT) From: Konrad Dybcio Date: Wed, 27 Mar 2024 19:08:40 +0100 Subject: [PATCH v3 02/19] media: venus: pm_helpers: Rename core_clks_get to venus_clks_get Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20230911-topic-mars-v3-2-79f23b81c261@linaro.org> References: <20230911-topic-mars-v3-0-79f23b81c261@linaro.org> In-Reply-To: <20230911-topic-mars-v3-0-79f23b81c261@linaro.org> To: Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , Dikshita Agarwal , Philipp Zabel Cc: Marijn Suijten , Stanimir Varbanov , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711562923; l=1211; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2J4GFcJEb/ok1nMNM2COXn5TmyzEayEQndQUNkB4dqo=; b=rWV62J+CudHYBsig6BzDDpFCVZyvMzuo7cNi9KQPbqPsoeQ1YAY48CyGpCanimW3iJhftI1OC uZeNr0vPJoDBcjrFoVPEbLo4EKqjQaQoXYnESFn6PBHgNv8cGSOOaD8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= "core" is used in multiple contexts when talking about Venus, rename the function to save on confusion. Signed-off-by: Konrad Dybcio Reviewed-by: Dikshita Agarwal --- drivers/media/platform/qcom/venus/pm_helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_helpers.c index 8bd0ce4ce69d..ac7c83404c6e 100644 --- a/drivers/media/platform/qcom/venus/pm_helpers.c +++ b/drivers/media/platform/qcom/venus/pm_helpers.c @@ -23,7 +23,7 @@ static bool legacy_binding; -static int core_clks_get(struct venus_core *core) +static int venus_clks_get(struct venus_core *core) { const struct venus_resources *res = core->res; struct device *dev = core->dev; @@ -294,7 +294,7 @@ static int core_get_v1(struct venus_core *core) { int ret; - ret = core_clks_get(core); + ret = venus_clks_get(core); if (ret) return ret; @@ -961,7 +961,7 @@ static int core_get_v4(struct venus_core *core) const struct venus_resources *res = core->res; int ret; - ret = core_clks_get(core); + ret = venus_clks_get(core); if (ret) return ret;