Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp474755rwb; Thu, 1 Dec 2022 04:45:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf5E+W6HiSxiPigVLWFd5R1TR5WY5sKf9t9mLiYa0XBLs7dGm5t28JaI8YS0ChydTUGGp4PM X-Received: by 2002:a05:6402:4027:b0:468:fc39:e89 with SMTP id d39-20020a056402402700b00468fc390e89mr43221893eda.170.1669898728636; Thu, 01 Dec 2022 04:45:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669898728; cv=none; d=google.com; s=arc-20160816; b=dJLAfaprabGvlA9wmMVChb4UQ8o/TvOJo2qA49em10lvNDYJvAqQNknHuMVd3MDqY4 zRCpstczeSxNPLyeZAQ2TvLj5sF9cWsMAW8RVKUyXq6nivyMhd0dkfUv+0/txcNVv/8Y f75Rpzlk7Ck+bqaC/CtSOgHB/NqNqA57wv58thm9nEgHzgym4izk/mM++YuqM5yCAvlP WYnoTiAT+erIByCohUwHEhMAgqAFWwoRikFhHkDNOu0tMMufta3LLjRtF6ufH8r85ruK jNM4lDkH9pXNX8TZIsQvv7lnyUbK/DSybE9L2I//jPfDJn8ERSEz854jWE40YnmHwhWm XaAA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=/EtEUc0BB2DnFa4TPsVS/05no7NukWwT52DNsNwXaKA=; b=IXElUxbFEh+iHp3lTWIF4NOAHp9FCpdjROi3l0PWuJiixZk8Auxmrc66EWZIAYL9M2 ZUH69ZM09glS8dnKGoYoXszA8rJJHcDzI9WRkkEbEvqrUXoT2ZIhjFYuIp5u58gVG2xA WPCqyuyXrG3LLLoy8Knh0Rd3cDMq7Gz00RtAoLVhbfULFcmBci1/NPN5vAkkO5jLb+up yIFCof1l7mMENwa8V3ffo3+KNFKGnqn6q/Og02B/Of9SnsY+3qc2BMb3eviFWmzRR/ow /DEvhaeVlormGB67QVmUyy7WP1yuOEfhclOmycKBLKyodBn/I2crv/+Cg1bgrkbIVq5I tjkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iUv6h29I; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a056402518b00b004615855c483si3844086edd.98.2022.12.01.04.45.07; Thu, 01 Dec 2022 04:45:28 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=iUv6h29I; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbiLAMUa (ORCPT + 83 others); Thu, 1 Dec 2022 07:20:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbiLAMU3 (ORCPT ); Thu, 1 Dec 2022 07:20:29 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87034AB00D; Thu, 1 Dec 2022 04:20:28 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3D738B811A6; Thu, 1 Dec 2022 12:20:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDB57C433D6; Thu, 1 Dec 2022 12:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669897225; bh=F7zqOw0jJ/Nulpp5bHFkrjmu9lFcyY+4CTQDaz3Zncc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=iUv6h29IqmpsP8xuOOP3PP+owvdFwfHn3EXUS63B6TiisnVK/mjjrLeJrxhzHi+IE auPC9SsSuessmasy0yV+xaW5IKUkA8MRFZpZBasrHFFCcLZVaWOJ2V889dUbUzRV22 /cYExrNHX1Y7/gWps5iforXK+oou6Ynv6pfplavAWWsnHfo2yJ9KtsEAAfy/Fls+t6 8SAaBKe7ktNz2WQXJSFi9aFeeQKFHgZEc5pGLsfm2eZ5s8Ojr7JVP0YLktICt+X0bK AJEV5WDWMIDqQ70Xm2VA+cHAbYBgUeuoCvYbOhbZgOWzVBJpD/0yslt5sLEKdbILdl g0LgA0EriK4gg== From: Mark Brown To: linux-spi@vger.kernel.org, "A. Sverdlin" Cc: linux-kernel@vger.kernel.org, Linus Walleij , Lukas Wunner In-Reply-To: <20221130162927.539512-1-alexander.sverdlin@siemens.com> References: <20221130162927.539512-1-alexander.sverdlin@siemens.com> Subject: Re: [PATCH v2] spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE Message-Id: <166989722460.51770.10306865955745986625.b4-ty@kernel.org> Date: Thu, 01 Dec 2022 12:20:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-fc921 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Wed, 30 Nov 2022 17:29:27 +0100, A. Sverdlin wrote: > From: Alexander Sverdlin > > Commit f3186dd87669 ("spi: Optionally use GPIO descriptors for CS GPIOs") > has changed the user-space interface so that bogus SPI_CS_HIGH started > to appear in the mask returned by SPI_IOC_RD_MODE even for active-low CS > pins. Commit 138c9c32f090 > ("spi: spidev: Fix CS polarity if GPIO descriptors are used") fixed only > SPI_IOC_WR_MODE part of the problem. Let's fix SPI_IOC_RD_MODE > symmetrically. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE commit: 7dbfa445ff7393d1c4c066c1727c9e0af1251958 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark