Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3893753rdb; Thu, 14 Sep 2023 06:08:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2g9avQliuSVRPp995B4QsnHPtfFXAhCsjSvIHiE8BN9PIaiwCFS1vCr5tI3xphNpidwTP X-Received: by 2002:a17:90a:1fc4:b0:26b:e80:11de with SMTP id z4-20020a17090a1fc400b0026b0e8011demr5134825pjz.25.1694696927508; Thu, 14 Sep 2023 06:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694696927; cv=none; d=google.com; s=arc-20160816; b=zLY9YB7VeUskcE0ect7exygDbl7g4qTLjCRvFRyC2lhoNOo0bG3yh0hu4UHf8oCCMR 5RWMynjvK34iI57WRdNTwnJ/B99QpBLRyWPx0zv0wiLz3E4Vk+tGENNWFleI20WRy18L 5g6t+VM7/c3DtyEDrj45IQ7cHIpi++9j8zdNGvkfGo5UHOSocszHgmCnHGCsv91AlY8A kUO9M1R8EQuMD52gFdjnKYiyu4SEAdB6ftg8fkdPno8r7Xp7kNvD8kgbIeOXYXcsD05z 80vaWmWlXjq2DlUUeVCoZpCAwSQfUREiZaKp/maL13yxdxQwIKYSh0Vfe/sZTXVc8O41 pmWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=LMKUhQbL4HcUXFfBqfb154Sl4VcoUgZfZ/FY/D0XX5M=; fh=/Zl1W2xIsUDh4Hm8y4wqunf82qFjBEuhBaMw8B9XUyE=; b=nbaugTq8+BDX2e7Oa+vlNTK9Sqjbv4JI/CdH7w/yQOlr3zQIJPav4oOmjExXkSxO1i ch9zFs95DYoPLWpXDdyMnj6MVeOHY60V1u01d6bFsab5XlWbwSYRCEhAAKVgvpJkGUOb GCD/sKnTH+Z6ChLa1QuYICNHlCTakaadaGbmfLY5HaDkGYKd+kj4voxhU1Uzhfpt5GwC Qmh2IQycmzX1czi4Bt7bmQHmTwIRtGwaPX6Xk1KkTZzOGXb3/CpycTNniTSkyeXEIyQj PXkE089vnzdfyCNhhBuFBFSgRAthAb6uzyeuSR7Fc8e7Cq2oWNczxs8cGCeFHQSMwCXp hPTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id oa9-20020a17090b1bc900b00261326aa56esi1818257pjb.5.2023.09.14.06.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 06:08:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5D72D8381E42; Thu, 14 Sep 2023 06:07:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238647AbjINNGx convert rfc822-to-8bit (ORCPT + 99 others); Thu, 14 Sep 2023 09:06:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238525AbjINNGw (ORCPT ); Thu, 14 Sep 2023 09:06:52 -0400 Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21F891FD8; Thu, 14 Sep 2023 06:06:48 -0700 (PDT) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-5925e580e87so10731947b3.1; Thu, 14 Sep 2023 06:06:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694696807; x=1695301607; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dHc0DpORXlGUIyJemXMGFwVrMRXG1k2BQKoTOugDHHg=; b=nSnCrULD0xRPONVeIXpOGcYOD3VK7CYTIGIhbcix6oBrlHUv1znEG5FCdGtClrXkuH eAVRZVcEYehQhDj8Di+eFJAr+5wyiAwioQ4PH/Jf8v5+YdT71M4qZdkQcSJCWe1o0E8z YMKmZvFkr7GOD9Pk+C6+NYGayO1Tg+H564Ii10+w5G5cBQOyIN7qpFVQ9xY09wD80IGV RsSsVHtMwqnfdBZfdsdIvClelZaUyz1+hpfV/68b0JgUGjZa3F407UMd4yuce1fNcGY+ OBr86ahmFxX0KT8+cH0iEY3Szg7Rqiyc6lvrNWEDLH09E8bL8CxvZckkGukU/1qoKBu8 XOiA== X-Gm-Message-State: AOJu0YwPB2KFNZ9xiPCFBcACgwLnzi6EydrFMEi3Qz3S4ck/OAGqqxRY HOLcKBsDdTiKz1gfEezc8TE8AV8BJQr/4g== X-Received: by 2002:a05:690c:250d:b0:59b:ec40:a121 with SMTP id dt13-20020a05690c250d00b0059bec40a121mr1597344ywb.3.1694696807118; Thu, 14 Sep 2023 06:06:47 -0700 (PDT) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com. [209.85.219.179]) by smtp.gmail.com with ESMTPSA id t125-20020a0dd183000000b00597e912e67esm304748ywd.131.2023.09.14.06.06.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Sep 2023 06:06:46 -0700 (PDT) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-d7e741729a2so989118276.2; Thu, 14 Sep 2023 06:06:46 -0700 (PDT) X-Received: by 2002:a5b:bc6:0:b0:d80:1a0a:e7a7 with SMTP id c6-20020a5b0bc6000000b00d801a0ae7a7mr5064343ybr.53.1694696806097; Thu, 14 Sep 2023 06:06:46 -0700 (PDT) MIME-Version: 1.0 References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> <20230912045157.177966-12-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20230912045157.177966-12-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Thu, 14 Sep 2023 15:06:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 11/37] clk: renesas: rzg2l: simplify a bit the logic in rzg2l_mod_clock_endisable() To: Claudiu Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 06:07:23 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email On Tue, Sep 12, 2023 at 6:52 AM Claudiu wrote: > From: Claudiu Beznea > > The bitmask << 16 is anyway set on both branches of if thus move it > before the if and set the lower bits of registers only in case clock is > enabled. > > Signed-off-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-clk-for-v6.7. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds