From patchwork Tue Jan 9 21:34:30 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: 13515398 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 86405C4707B for ; Tue, 9 Jan 2024 21:35:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D8A5910E500; Tue, 9 Jan 2024 21:35:52 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by gabe.freedesktop.org (Postfix) with ESMTPS id 857F110E505 for ; Tue, 9 Jan 2024 21:35:51 +0000 (UTC) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rNJkD-0006cn-6D; Tue, 09 Jan 2024 22:34:45 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rNJkA-001Z26-NU; Tue, 09 Jan 2024 22:34:42 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rNJkA-00667o-1u; Tue, 09 Jan 2024 22:34:42 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Thierry Reding Subject: [PATCH 0/5] pwm: Some improvements around .of_xlate() Date: Tue, 9 Jan 2024 22:34:30 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=961; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=k1tl0KN37p2K0b7qOKWEkrmyn1QBL1dkj6B3e6BITYw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlnbvoRqc5mrbM96UdzaOUAM8/Bh4d2soUH4R0F +5CaT1CHf+JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZZ276AAKCRCPgPtYfRL+ TqH1B/4m/xi6nYjDB7Gp39Jvktgrrknz/As6PcQoHQGpYZi5Co5EdfxGQZEeE7pR6e3m0KZXnMV VuWYIf6vFJyXJP+4UnLeR959pZVbzc+ASACr9/oVXbAnsYgzKL6k50bBUocf6WeHs3yBwCGq8K9 9IeoAV4hJseLCg62vusEiDP+ujUf9bwf1arXMbzGArZtv5s5bFHETtk+qK7196yxvQjIZd+QWe3 2+5ytecGvpxw49V1hm5Fv0Bcomzu1AMEIe++KRcjQda1/fW7+ofA80bMwELNEFJ6doZTWXKg2mO cXjku5eSkxvbAY2Dah/O1hNJz9D5QtFx5hnYtWSG6mE2ZHPE X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-pwm@vger.kernel.org, Robert Foss , Andrzej Hajda , Alexander Shiyan , Neil Armstrong , Thomas Zimmermann , Bjorn Andersson , Jonas Karlman , Douglas Anderson , Jernej Skrabec , Guenter Roeck , chrome-platform@lists.linux.dev, Laurent Pinchart , kernel@pengutronix.de, Benson Leung , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, the first patch is a fix for an out-of-bounds access and so should probably go in quickly. The other changes are merge window material. Best regards Uwe Uwe Kleine-König (5): pwm: Fix out-of-bounds access in of_pwm_single_xlate() pwm: Drop useless member .of_pwm_n_cells of struct pwm_chip pwm: Let the of_xlate callbacks accept references without period pwm: clps711x: Drop custom .of_xlate() callback pwm: Drop duplicate check against chip->npwm in of_pwm_xlate_with_flags() drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 - drivers/pwm/core.c | 45 +++++++-------------------- drivers/pwm/pwm-clps711x.c | 11 ------- drivers/pwm/pwm-cros-ec.c | 1 - drivers/pwm/pwm-pxa.c | 4 +-- include/linux/pwm.h | 2 -- 6 files changed, 13 insertions(+), 51 deletions(-) base-commit: d73f444d06fb8a42a5c0623453f3ea1fe9880229