From patchwork Fri Jun 28 10:11:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 808397 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDEB915886D for ; Fri, 28 Jun 2024 10:11:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719569508; cv=none; b=TFoeqGnQq4JF/ml7mw+sXjpE+oLxQK972IjBVHw2v44MiL86rlUyex9GuwSkx/0ZHD9JrhAo3C05P4C9RaqUCivYc63wtuTdopt4tS/o47Paey0Jy2SZu5qvtfn1RxqlwSR4fZPLojuFszONVw2lgm80ygaPaT1W7x2qgzn+Mjc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719569508; c=relaxed/simple; bh=typWC4rPgvkMNHZP8pTloCLl29F5JtXSoQZOOaQJYYM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EfAqUV1SAl4PKBw+ZFPV4E+6ZHGs0ISqc4t3XIcaMckOLmXrWX+b48JBBWNOq1lstLzXmoBPnWKrSOJ04Wxnm8RuJ9zNRWYdTtdmP/2FPybuLQXQobqmmipOw3nCnn0T0Wmo0Br0iGbGs0qYBaSq37gTb8TfzCEGIYI70MWTjjo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=lgkQozZf; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="lgkQozZf" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-52cdd893e5cso471877e87.1 for ; Fri, 28 Jun 2024 03:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1719569504; x=1720174304; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hdl3PSGh9S35qMafYON8RkQ3hcQRYs7QhYzWmfguxkE=; b=lgkQozZf7NjIHf2QY+Wcul8Wg9FG1le+YzpaX5wKrHNS1JKv0hfB62altafh33ooBZ GJse1fTEFO91ZtvYm/oelnXPeUpUALiPlOhsrxhjNYbYk0cYtYQmHnNVnOxBVgnbEmxf yiersIckzN1PhqpUnUsTTv6mEz4GYRzsJNWVjDtSifoX8tq6GfqQeuErUxrOrqNIX1HL HaSal/gzrAkC61pa1S4pMZ93lUhxmubQnaKxdJBuEr2/yPMrntP2I4PtyfY0e9ot5nr0 fjZmt9VM12iCN5k9YB0jUwiIFFqI3UAl524HBUrj60HbPxlX6d+Y1ABPtRnFnSyyDBgJ sb8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719569504; x=1720174304; 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=hdl3PSGh9S35qMafYON8RkQ3hcQRYs7QhYzWmfguxkE=; b=lzVJ5rO8li5eRxai0E2AFahScg2QXQKzheoJfixE/GoM68Gns9VVBJnDDX/bg+TSDM Hug0M1Fap4Qt9fpxT2BLXN+rK1+kllLnTLRry2mrwFdrQYabk1TmBvD2l1U5IrznfP9/ 1I1TyH741AdNqzPLb5Iz1ymiS/pPpsdY9cfXrSE2voERhEhGVWY6K4+wk3QWM4bNSIbf y5cDmd7bcGm5c3PdxKpSZk8BylXqkolCencIhhwnhAK/FA3A0XTWNufH0qPmc4++R9Tu sMlfD1dIcC+3VnIJhLJ3KpBq44YzdwlmBVmVi/e1PhQkWz6GLEj8S03h98W0JD+BAoFR M8hQ== X-Forwarded-Encrypted: i=1; AJvYcCUpSnGW7ej5iazZPCodrNsGgEDuw3zWS8MaNn12xMqREsPemCFrKUgxPkDOt/+jq9EdYChYBPq+gm+O3s6f15Ro63C4nV4htp1C8g== X-Gm-Message-State: AOJu0YyVuFqPf5qodYfESMCVCzxyefl6ebe0xD0BN4rhY2pGu3ZiIbdg mP6zBICA9tkOgaOA1k5x36aMhgx5p/EuTlUSgDpsu52JSl2pSS+T0afRAVibyrM= X-Google-Smtp-Source: AGHT+IE1Jbfv4vSYbSR7uNEWi1U7MEHfMoI5hKODYdtbPQiRI+uquKnCoEotcjusij8xGEohrV3uEg== X-Received: by 2002:ac2:4d97:0:b0:52c:e170:9d38 with SMTP id 2adb3069b0e04-52ce183ad20mr10824150e87.31.1719569503961; Fri, 28 Jun 2024 03:11:43 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:cb0e:590a:642a:e1f9]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fc434sm1770895f8f.76.2024.06.28.03.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 03:11:43 -0700 (PDT) From: Bartosz Golaszewski X-Google-Original-From: Bartosz Golaszewski To: Linus Torvalds Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] gpio: fixes for v6.10-rc6 Date: Fri, 28 Jun 2024 12:11:42 +0200 Message-ID: <20240628101142.33339-1-bartosz.golaszewski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Linus, Please pull the following set of GPIO fixes for the next RC. We have an assortment of driver fixes and two commits addressing a bad behavior of the GPIO uAPI when reconfiguring requested lines. Best Regards, Bartosz Golaszewski The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670: Linux 6.10-rc3 (2024-06-09 14:19:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.10-rc6 for you to fetch changes up to b440396387418fe2feaacd41ca16080e7a8bc9ad: gpiolib: cdev: Ignore reconfiguration without direction (2024-06-27 17:21:28 +0200) ---------------------------------------------------------------- gpio fixes for v6.10-rc6 - fix a race condition in i2c transfers by adding a missing i2c lock section in gpio-pca953x - validate the number of obtained interrupts in gpio-davinci - add missing raw_spinlock_init() in gpio-graniterapids - fix bad character device behavior: disallow GPIO line reconfiguration without set direction both in v1 and v2 uAPI ---------------------------------------------------------------- Aapo Vienamo (1): gpio: graniterapids: Add missing raw_spinlock_init() Aleksandr Mishin (1): gpio: davinci: Validate the obtained number of IRQs Ian Ray (1): gpio: pca953x: fix pca953x_irq_bus_sync_unlock race Kent Gibson (2): gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1) gpiolib: cdev: Ignore reconfiguration without direction drivers/gpio/gpio-davinci.c | 5 +++++ drivers/gpio/gpio-graniterapids.c | 2 ++ drivers/gpio/gpio-pca953x.c | 2 ++ drivers/gpio/gpiolib-cdev.c | 28 +++++++++++++++++----------- 4 files changed, 26 insertions(+), 11 deletions(-)