From patchwork Fri Dec 2 20:51:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 630443 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 90B7BC4321E for ; Fri, 2 Dec 2022 20:52:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233849AbiLBUwK (ORCPT ); Fri, 2 Dec 2022 15:52:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233873AbiLBUwI (ORCPT ); Fri, 2 Dec 2022 15:52:08 -0500 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38127B3C for ; Fri, 2 Dec 2022 12:52:04 -0800 (PST) Received: by mail-yb1-xb2f.google.com with SMTP id e141so7459045ybh.3 for ; Fri, 02 Dec 2022 12:52:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Jf8Lci9yWicMcDRvKe2dt66Xmmfz4hAXZFNEga7Q+BE=; b=j3EeJQPe8r+7d6LxVmZyEntSQjmYrqZi4ehLar7qrzdbGmQZGvFKMmdcZ3eenY708z +nMzbkDQE3KyyTYpfHcxVNAYFEAyZoWHxT45zGgVSkz8LEsCvY6M/YuMhqf9tU2zv2gP 5dJgKmah0O7gtXzpyYBsZDiUEwbHIxLGz/ozsdCWZ4NH3iW0SXekQ2e0DBK13Cz/4SPe BljQhCpkLDqtmusqAC05nzEi31JU4Ecj8ZBnA6mtSU/r9fKN11P70Qz2bGvK7A+ABhpj FbCXZ3TXQbI8svTZdKG32sKGPOVfkReOCjcgD4ttXfTg0Cb+JO9mSV3yopgm4fax9Twh mcUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Jf8Lci9yWicMcDRvKe2dt66Xmmfz4hAXZFNEga7Q+BE=; b=rDeWQiT7lJbv87v1Fq+QmMO0BpdQzrL87jzoC1NhkRp0Xgnes5V4WEYNFqBrvfynBw jnEaYrGRgPECHs0vgj/2AFHzkTzMdXz1v1IFSVzlgzF8ftbsOhM8nWu0ygfsWP8DnroS rIm61ejcXHHMNYkaqkeDWg7/dcW7ZBMVBDP7Do48bk0aahGhtyqL8OXevNBVBqepBFk/ HAfSh0JkmQtk9QEE1RpjLUNprkNRBZRFxxeeHKu10xNMfP+zev0XCukHYg7gUt1IMC96 JKfzIqySyJL5+HwlE3zxz1/jF4/Y31RjOXOv+cowCSP8KlllRApIE1jT14zMjT6lOrTB waxg== X-Gm-Message-State: ANoB5pks8eu/xTf5S0oQWEsS8gyK7ZPpbFVh7u0liwztA3MJ9jBgdgxn 2sySjLTzYPn0l2NFjiFi6l6wn7cvbB88xUUdW1NIcg== X-Google-Smtp-Source: AA0mqf4SuZ2vonEWXHycBZ/r+Rw35V9WIPRMUQ7hr9R+wS4Q4axRCUBD/W/WcDwoWjiW0VN0dZhn8lJE40wih27quRA= X-Received: by 2002:a25:1843:0:b0:6dc:b9ec:7c87 with SMTP id 64-20020a251843000000b006dcb9ec7c87mr52188903yby.322.1670014323445; Fri, 02 Dec 2022 12:52:03 -0800 (PST) MIME-Version: 1.0 From: Linus Walleij Date: Fri, 2 Dec 2022 21:51:52 +0100 Message-ID: Subject: [GIT PULL] pin control fixes for v6.1 To: Linus Torvalds Cc: linux-kernel , "open list:GPIO SUBSYSTEM" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Linus, some trickling pin control fixes for v6.1, three driver fixes. Details in the signed tag. The Intel fix looks like the most important. Please pull it in! Yours, Linus Walleij The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8: Linux 6.1-rc6 (2022-11-20 16:02:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git tags/pinctrl-v6.1-5 for you to fetch changes up to 6989ea4881c8944fbf04378418bb1af63d875ef8: pinctrl: intel: Save and restore pins in "direct IRQ" mode (2022-11-28 21:41:31 +0100) ---------------------------------------------------------------- Pin control fixes for the v6.1 series: - Fix a potential divide by zero in pinctrl-singe (OMAP and HiSilicon) - Disable IRQs on startup in the Mediatek driver. This is a classic, we should be looking out for this more. - Save and restore pins in "direct IRQ" mode in the Intel driver, this works around firmware bugs. ---------------------------------------------------------------- Andy Shevchenko (1): pinctrl: intel: Save and restore pins in "direct IRQ" mode Maxim Korotkov (1): pinctrl: single: Fix potential division by zero Ricardo Ribalda (1): pinctrl: meditatek: Startup with the IRQs disabled drivers/pinctrl/intel/pinctrl-intel.c | 27 ++++++++++++++++++++++++++- drivers/pinctrl/mediatek/mtk-eint.c | 9 ++++++--- drivers/pinctrl/pinctrl-single.c | 2 +- 3 files changed, 33 insertions(+), 5 deletions(-)