Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed9586d2 authored by Veera Vegivada's avatar Veera Vegivada
Browse files

clk: qcom: sm8150: Fix compatible string comparison



Correct the compatible string comparison for the GPUCC.

Change-Id: I825f85a03857c2833f5198220365cf9281f6a9c7
Signed-off-by: default avatarVeera Vegivada <vvegivad@codeaurora.org>
parent 4de5180f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -476,7 +476,7 @@ static int gpu_cc_sm8150_fixup(struct platform_device *pdev)
	if (!strcmp(compat, "qcom,gpucc-sdmshrike"))
		gpu_cc_sm8150_fixup_sdmshrike();

	if (!strcmp(compat, "qcom,gcc-sa8155"))
	if (!strcmp(compat, "qcom,gpucc-sa8155"))
		pdev->dev.driver->pm = &gpucc_sa8150_pm_ops;

	return 0;