From patchwork Wed Jun 19 09:26:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13703572 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54444C27C53 for ; Wed, 19 Jun 2024 09:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ezQRRIlNxNy2QrCPuAEV8Oyb8ctHh+po983NuDBnwzw=; b=Ts3UL/e2Mh5vbPwiKW8NQY6Qfu yNQR1FajOWbZyU4LKmPjEtPBDbpyWa2F5qiqDsYh1AIo0pdwU6zXL1xSFq5V9u6YHe2dz6wgb/jBw Y4G9FszrPPir61HGFCDSoxnp8ivfA4tTdO2UmA4pGMYSNUevkCs4mP2FQC7XgdLCkTroTX3Ae6nJj f1Ym++x2CnvG4wJbH6utWf+CGn+ssB3uIPN0Fow0aU6YeUSYdUuhIJbzZ7tpt31qc9BcGWa63UzVi +TeaRdjXcQTMcinaBOlPjgaZytekqZIU00kndAFK9mgBR4dWo0VmWLqfX6h60am/b3kjTUMlEa9I1 Eh+RwS+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJrad-00000000aT9-1Oyf; Wed, 19 Jun 2024 09:26:51 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJraZ-00000000aRH-07Uk for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 09:26:49 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4217926991fso57075795e9.3 for ; Wed, 19 Jun 2024 02:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1718789203; x=1719394003; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ezQRRIlNxNy2QrCPuAEV8Oyb8ctHh+po983NuDBnwzw=; b=ZEA1S5HZIsxiNbHDDC1QBPdgEUu6/sWE73i8My/ds1CrPsQioyhqiSyTI+Gt6HqUiO dBcwlAf/3N3Fpz3m9Telt0kiasSzHlAE/70YzDfn4FflitpTDkILLvLdzdjSC1sIaSvQ RjlpQhychh38Rr6dFSNLzcUlju5snJ1+Ktf759I214o2g+hjKiS/rNkD+JOOc2xflPrn uxwZRlBHSQX065Fp1d61xCBVIHa56rqgcOMoDLczgxXgCSddUoxedrAsABWE0d7hjcVj 1gJQS0gvww6xxAqjPs/AuqLKROHFg6GKRVIyOSNL6NwUI2ClykUeOmUjIoA4oSS/aLTE X+MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718789203; x=1719394003; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ezQRRIlNxNy2QrCPuAEV8Oyb8ctHh+po983NuDBnwzw=; b=FkfwAgU+l/5u+GC20K89uOHreQZammBCFc2WL1XG6sehbimudQiqZDAicA4TLaM5fN 7xlGlTFa09jxftQ6UitPgFM3MbOZNzgEuCa/7Tx3qvImgpmPjqHpRk6tHiMzahOsEZLw Y0JM4Ps85uOmluhVn6UfOvaXI10gmqXq37Z2i3Jq5jjy5QE+0wGxmVhlJK5PPFaMnDUG NT0nULKyqN/cunTaVwbnGicru8PlGZFbgzX9bRDc3geoGHwKJNzYgIYmBb+moL5t7WmV vAsf9fBT7N0+D5EziqMy5eJD1/J7Zdf1UKgGW5UqTS4pQWyEfxZSoIVKqAmu8ttqYDqr Cidw== X-Forwarded-Encrypted: i=1; AJvYcCWPFTk5qtR8XWKWRynqgsDLF8fyCxxpwzJW+CjU05mpGiXyB18fRcnj1sK0HszRjMUlrRgzabcH0sopYFi5K+9/un1IhY3yoIgvQ8xKlwmVsH5tD+o= X-Gm-Message-State: AOJu0Yx+ksJHoQMt+BoqufSwVnKYfz5jkm0koVTTXPJRjJF6/dxy1pC/ hTcWouJ3w77yU8gTsWxNGHa7vqBYvDJtgabRROXKfbv4bTs6vXK8pN1996qneeI= X-Google-Smtp-Source: AGHT+IGgDsBMEJLdwNAcDw3PcY77JcN2xEZg75HuwFgkVWJfFOmTXqt3HCQbJEJog+YJjnIQltEwEg== X-Received: by 2002:adf:ed47:0:b0:35f:1bb2:4354 with SMTP id ffacd0b85a97d-36317b7909bmr1476123f8f.35.1718789203528; Wed, 19 Jun 2024 02:26:43 -0700 (PDT) Received: from localhost (p509153eb.dip0.t-ipconnect.de. [80.145.83.235]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-363e110ea83sm580059f8f.113.2024.06.19.02.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 02:26:43 -0700 (PDT) From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Fabrice Gasnier , Maxime Coquelin , Alexandre Torgue , Lee Jones , Thierry Reding Cc: linux-pwm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] pwm: stm32: Two fixes Date: Wed, 19 Jun 2024 11:26:23 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=533; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=8K+WjM34MR24mhU/bzCFPG1mWsgoIklGhckomjtcqZk=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmcqRBygtncZJsb5+PFhsyNusHwI7zYAGBSK0ow /sCo8fwWMWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZnKkQQAKCRCPgPtYfRL+ Ti+yB/4mxgOvo+OmLwR8PCMpp2jnM2ClElhsnuSSTMyl5UN4h5GkJDjmONpNy3bsxwB7117/6k1 Q9AX6/lRsmtxQGS7IMlXosAFM9qk28M+pwZj/egzcD6HRW4hGQ7N1JpyI7v24WrAIZfoj9/eRkQ mCjDkuF+Er8mzuXcd0FFdAb+N1OgS6fLlgy67yROfMaFEWMORwf3+SipVd3yyA+d9jM6gwq40Lk JbtwsR49cCGABdieBl1IAaOxQhsu3qe0a7o+cpiAucRu3z9pyuEnn/phsBcsH0eOw2xSCNSacxF luZ+roIox0Y4FKoHg1lJpeoYae7clhPM25eg453uqWW7aEOU X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_022647_191155_6FBCC6DF X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, this series contains two fixes for the .apply() callback where bogous periods were calculated. I intend to send these to Linus before v6.10, so please if you have concerns don't hesitate to express them. Best regards Uwe Uwe Kleine-König (2): pwm: stm32: Refuse too small period requests pwm: stm32: Fix calculation of prescaler drivers/pwm/pwm-stm32.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 Reviewed-by: Trevor Gamblin