From nobody Sun Feb 8 08:47:55 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 452E5EB64DD for ; Wed, 2 Aug 2023 02:53:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231682AbjHBCxl (ORCPT ); Tue, 1 Aug 2023 22:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231452AbjHBCxj (ORCPT ); Tue, 1 Aug 2023 22:53:39 -0400 Received: from out28-124.mail.aliyun.com (out28-124.mail.aliyun.com [115.124.28.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1B626A1 for ; Tue, 1 Aug 2023 19:53:36 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.7130933|0.6509981;CH=green;DM=|SPAM|false|;DS=CONTINUE|ham_alarm|0.161067-0.00309727-0.835836;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047193;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6NOR6j_1690944809; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6NOR6j_1690944809) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 10:53:31 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd/display: Clean up errors in dce110_hw_sequencer.c Date: Wed, 2 Aug 2023 02:53:27 +0000 Message-Id: <20230802025327.10370-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Fix the following errors reported by checkpatch: ERROR: space required before the open brace '{' Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/= drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c index 20d4d08a6a2f..7f306d979c63 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c @@ -219,7 +219,7 @@ static bool dce110_enable_display_power_gating( if (controller_id =3D=3D underlay_idx) controller_id =3D CONTROLLER_ID_UNDERLAY0 - 1; =20 - if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id =3D=3D 0){ + if (power_gating !=3D PIPE_GATING_CONTROL_INIT || controller_id =3D=3D 0)= { =20 bp_result =3D dcb->funcs->enable_disp_power_gating( dcb, controller_id + 1, cntl); --=20 2.17.1