Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10842844rwp; Fri, 21 Jul 2023 05:59:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlEYvH/DfYXKf8aJ3Zbcp1T+kpTakdEtNtW5f/pIM6QEoqTifyWTMfL5z5fckXZfZNCnUKnC X-Received: by 2002:a17:902:e743:b0:1b6:a99b:ceb1 with SMTP id p3-20020a170902e74300b001b6a99bceb1mr1361549plf.50.1689944371061; Fri, 21 Jul 2023 05:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689944371; cv=none; d=google.com; s=arc-20160816; b=LmT5ic/BGWH8SFPt3EchT0pldOZAMpQeRAlJgY+OkiSE51zzs6SVehFFrknKjYCUw8 SZEQTN44RXswvNx03czGvAqq15+A8oKy6W7TAEsONTXkJXKLEVTqGd0blq/JvHFraAip hleVlCkm0QWvvQ3BJWQZFAPI+ND8NcY3szq42jNXTmAn5vRBskFjPcMsPQCUs+jZc3Rr YGCEtXeZjd8vadcJqzOjsD4wVGe8/Slst7k1H3ICCkQhUd5z4KjALFEoImQ6hn3De4WP a0vSOlM5BtdfWFIb67TDbzHKuAjKGtmf5etKO3+6PwY6ruNzumTtGGlbnpUatufR42Dh j5FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eBWmRvJ6rLCVlUuynkQvN84w3Cg18aPij7FlE9/ewkI=; fh=uYe9j9Epg127kLe8mo6RHxRYmR1+VP3W3vC8OL4RkC0=; b=PZ4zl8V1BoUwnvI45zMquBykt0blljzgzVi/Q2EPZs12E4i7f8r01w5rYXQo9QNysv JX+p6P1WgXYFrswzglJCwinFlN+CM1CDLICprIillUMs+dG/gZfL45kWBOHpVTvwhHCI fg53BPjfaP/1qiNTE0AaAzJXdjzWT3iYjL6XDBBzrJbSmVniiMydxlJu5eVLIYXKxZ5D aehAEFjEBxRKO1XVPpcJkO3T+6v8sLUuCwDOvzAqtF0AEoRCe8KSBLY1EuGrmUu4J05R XZami6bkl1qojcwvM6W8gD4tVcS4MFVafdD21HHOx0oRETOvNTvKbR25K7MUe8z7nIPi ehyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=jaWgysHH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jb18-20020a170903259200b001aaf2ced278si2845299plb.430.2023.07.21.05.58.50; Fri, 21 Jul 2023 05:59:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=jaWgysHH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229884AbjGUMjR (ORCPT + 99 others); Fri, 21 Jul 2023 08:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbjGUMjP (ORCPT ); Fri, 21 Jul 2023 08:39:15 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDD682D56; Fri, 21 Jul 2023 05:39:14 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-98e39784a85so639315666b.1; Fri, 21 Jul 2023 05:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689943153; x=1690547953; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eBWmRvJ6rLCVlUuynkQvN84w3Cg18aPij7FlE9/ewkI=; b=jaWgysHHTe1WTU9VN0h8AWNgdnUjQ3OYgW3ldXcAtHzwjxmekhiNlCiX6nqs3vLbst RWfDKxgbcWHIaaMm5Iz0sBlX1kl9yOS1zmEyfTxL0qE10ad2mgd2toamAKij/HrwUJGT KS8fGEVUx4DZkezSBiRoAs96omH81uQlUNqcNjcdZrnlGgr0w1C0Mq/z4EeA4KPi9oYx UV0u2PEtc7kV0z6pwgA/gThrlBpJfxH+gCnsz0d2sXlJyIQxuAIM5BagAV97+imj1Mhq Irz4QZy7Q3kX1EweuyHSj6y+I51Zb3NWymG8mL/Db1A6QL+WlwLVUFEdnwNUGnbSL24g oTvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689943153; x=1690547953; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eBWmRvJ6rLCVlUuynkQvN84w3Cg18aPij7FlE9/ewkI=; b=Ao8OQSo2d8j1UiRd9wvCDmqRC9S0CRPSwiYCPh5tfbu/qgf9viZCKTbt7jL+HIjeNz HmrfeRSxBFKqxyN8eIBRmOVVS27W6pAhJ0CW2EtwkkpwF4fe/PrF/DNIv8B+eQ9Jgsig SWpp9N6NafKH/9tiKBrvfTjHffGujxkm3HiAHRgqAIE3onSCySPOrjwRlWcCZXQsALf4 u7soQ1ocal669F97hqhU3A9KCaMoXh8aEyfgV/IA1WZ/+0whf56GFOGAmJgBFEdtM8XC Y8tkA4vPwezkkMQMmy5xUUc9Wk4M1YCVguYixwxHiWZsuN9dYMqLDTkthnYCtQZI9k3a 9OLQ== X-Gm-Message-State: ABy/qLYXUsvFs+j09NsWcbhxrF36Udr+pTDAl15C6LpZ+VHmlOy/CVzq qDRlyD0LDVJ6FC2OhrWok1I= X-Received: by 2002:a17:906:30c5:b0:993:fb68:ed6c with SMTP id b5-20020a17090630c500b00993fb68ed6cmr1877710ejb.15.1689943153199; Fri, 21 Jul 2023 05:39:13 -0700 (PDT) Received: from localhost (p200300e41f1bd600f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f1b:d600:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id dk14-20020a170906f0ce00b009930308425csm2123640ejb.31.2023.07.21.05.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 05:39:12 -0700 (PDT) From: Thierry Reding To: claudiu.beznea@microchip.com, Guiting Shen Cc: u.kleine-koenig@pengutronix.de, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] pwm: atmel: Enable clk when pwm already enabled in bootloader Date: Fri, 21 Jul 2023 14:39:08 +0200 Message-ID: <168994313438.2987087.16791169128100563867.b4-ty@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230716020652.18557-1-aarongt.shen@gmail.com> References: <20230716020652.18557-1-aarongt.shen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 16 Jul 2023 10:06:52 +0800, Guiting Shen wrote: > The driver would never call clk_enable() if the PWM channel was already > enabled in bootloader which lead to dump the warning message "the PWM > clock already disabled" when turning off the PWM channel. > > Add atmel_pwm_enable_clk_if_on() in probe function to enable clock if > the PWM channel was already enabled in bootloader. > > [...] Applied, thanks! [1/1] pwm: atmel: Enable clk when pwm already enabled in bootloader commit: 435ed5851458084b45f42df8689536d5f3d0e126 Best regards, -- Thierry Reding