Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp483209pxb; Wed, 11 Nov 2020 08:26:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5Xh8d22c9IG4oQ0Q43UQuPfHVxIYsULQknXM70iD1sWA4dnf22laPIPDJUmqbkkO9oNTl X-Received: by 2002:aa7:ce8d:: with SMTP id y13mr216303edv.65.1605111982705; Wed, 11 Nov 2020 08:26:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605111982; cv=none; d=google.com; s=arc-20160816; b=iFVHCKjChGmfUNrlN4Grvh4B1n544uM7jtnemrRjKwahpjDWQeDzdnsApJ9FzZEm+z HDEpM/seDzeF+57hz98Mq1atwsuqfm3elBoPswhY43n86JRIT0HW/MtY5vFQnwpAWk1i zwgxQU83PhPvFqZq8XnEBvAaC98nqyxq3fCihpRLy3KtCncpx6AyKFJkxl+3h8WPDhrU +aLXXhoZkuE8xC6nlPMhkIqnewPmGLoLZuUVrSHZs5PqIpRlYlCbCHUSFFWN4+VbPR0p 0GnZ8XtDzHsxVi5QtxeVENahUzu/51ExoTKJN1mBvNH17l4kKgEWph1K1DLGa3eytptT wGZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ApPLUFcnKDn71TaylPm6eHhhvyQNjdkfYuRqJ1JLvIE=; b=lTt2E3gdS/Sp2BFiUl6OgaE3PhjmQlhqcK1MCggACZNBE59rxpQ8jEqfCayIewL13x tEo7MtabrvEEcKCermWJPOFYlyA/bySRP6DlQ/8kKz1yAJ958x/2RfmIkqTbXXT1DO9P hdLjK1azw2X31uIN/xGlE9YSA1O2q5vDnqOM5OEzmC5fhen00cklxznjddEgsJHUlePo iO9+cH105/z5LOa0QcuKCRLGQ7f+UDC+ctVqpBMa0amM90y7QeDkHmaa49qwHFCIKD7Z R37DhHDcH87CO/JTKQ928kzUyo5+4HXe0frJH0dKEiL5F//uKFy+KvfDo9p8qKaXMdDr zuFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="DQX/rMcM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mm25si1607782ejb.610.2020.11.11.08.25.56; Wed, 11 Nov 2020 08:26:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="DQX/rMcM"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbgKKQY1 (ORCPT + 99 others); Wed, 11 Nov 2020 11:24:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbgKKQY0 (ORCPT ); Wed, 11 Nov 2020 11:24:26 -0500 Received: from mail-ua1-x944.google.com (mail-ua1-x944.google.com [IPv6:2607:f8b0:4864:20::944]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F661C0613D1; Wed, 11 Nov 2020 08:24:26 -0800 (PST) Received: by mail-ua1-x944.google.com with SMTP id v16so873798uat.9; Wed, 11 Nov 2020 08:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ApPLUFcnKDn71TaylPm6eHhhvyQNjdkfYuRqJ1JLvIE=; b=DQX/rMcMM1jCqyXpIRlSZ47lySB+30dO2HivcfQU+j9CdEyevHbnxItvQ2L/pOjxVR 29gVdmOe449NOk211xGfWsjfiMFVKp6sDamdJncl2l7/nQDcPm4rxN7RMWGNZgGWxHAt 0Q7XnwP2tv42M97S+FkFshC/A20yNq8z1kj0ODIDdAifG2MM5zrrW/BvO/5ztOBvpYtC E3JUkXJVw5KoBtm6oqwMMtol5+mzPy9fQTv0fPICMbHjJku+uhd1qFJ0XUCtV/75gUbV NiZGxXzE62BIh3TyE2M7D5yxV7u+Z/6GCC4gm3qIan+vyIf2QeyofPMcBDN0RqNTb4TV Jr9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ApPLUFcnKDn71TaylPm6eHhhvyQNjdkfYuRqJ1JLvIE=; b=f4ENxhSpXsmnZ/3s7M0elxOJ33586oNOmmloa6wfm4bIxrBO0xGomUAnh61+DFfE1L CdNAPk2WOO56774pygFxnMCqa4vWuhdIuFGFyru1ZUsfOP28W/07CxiNysMJ1L4ZNsyC PmVfnDFfHLXtIEpfVv2z+eisM9l5wCBGhr+aMTZ6SwLHS58Q+IKoXFFzQOECAQoHZzzm N94kGVtEHx4Ep/Gxh4snC/N+d6pAj7+aN5R4mkgkzCFFVvALfjC5zQhdOt/qccyB5oNW RwITGhA9eN10hhahQPv6DoYXTRi8T3oznjuIXiLgLF+fn5vfiolTrUQi+DgmowAxpllm N8yg== X-Gm-Message-State: AOAM533hqe2OO6iWMUxbkDkz3nmaX1fTziSp+ApEFif1nlkeEzaGZ2Le 2SC9BmTtMh3QHR0QoCVcfi51TgfDucO1SUGQHx8= X-Received: by 2002:ab0:281a:: with SMTP id w26mr13677174uap.49.1605111865547; Wed, 11 Nov 2020 08:24:25 -0800 (PST) MIME-Version: 1.0 References: <20201106150706.29089-1-TheSven73@gmail.com> <160510968064.12304.14797288117651443603.b4-ty@kernel.org> In-Reply-To: <160510968064.12304.14797288117651443603.b4-ty@kernel.org> From: Sven Van Asbroeck Date: Wed, 11 Nov 2020 11:24:14 -0500 Message-ID: Subject: Re: [PATCH v1] spi: fix client driver breakages when using GPIO descriptors To: Mark Brown Cc: Linus Walleij , Jonathan Cameron , Lukas Wunner , linux-spi , Simon Han , Linux Kernel Mailing List , Charles Keepax Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 10:48 AM Mark Brown wrote: > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thank you ! Now that our minds are still focused on this subject, should commit 138c9c32f090 ("spi: spidev: Fix CS polarity if GPIO descriptors are used") be reverted? This fixed spidev to deal with SPI_CS_HIGH on gpiod. But after our fix, its behaviour will probably be broken again. Another candidate for revert is commit ada9e3fcc175 ("spi: dw: Correct handling of native chipselect") although I don't understand that code well enough to be sure. Adding Charles Keepax.