From patchwork Tue Sep 18 17:08:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 10604619 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 17268913 for ; Tue, 18 Sep 2018 17:09:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5732B5B0 for ; Tue, 18 Sep 2018 17:09:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF03C2B5B7; Tue, 18 Sep 2018 17:09:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F2262B5B0 for ; Tue, 18 Sep 2018 17:09:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730287AbeIRWnD (ORCPT ); Tue, 18 Sep 2018 18:43:03 -0400 Received: from vern.gendns.com ([206.190.152.46]:51313 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730140AbeIRWnD (ORCPT ); Tue, 18 Sep 2018 18:43:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FZaLJFqELgHmbFLyzRwtlf7BQZspCL+RovxK1SpYuwo=; b=QIvFDyOXobeZG0tJ7OSa+5juAd nvQQFWON6vLUkdm8IPnqXBBByB2iRIwW9oXENJCbxcsm609jyiQj32tbf/j2buRfKQ0lCD3LKS4kp +0JQc1GlIvdeQ76Jk8r6E/Fg0tSyvWfkXRIv8UUxmagyWvvLSJNBXJi1NE5CYlqw5V/NVPvZnOBqd 22eYXLKyo9pFeDk+9Lro8YVaPAyt+7haJXJ4GFmESzsRoVmZlSb5chXYxvvJ4okGk1/ByEEa4giJt HkdCFE6nbwtUOVO6BMsHaUc8EdwYzOm8tYbJKhGlUuFxbMnGAqfAzo1XEvB7NVO4VF+lOZTfa7m5Z 6UCx+fww==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:37876 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1g2JVA-0074xZ-Go; Tue, 18 Sep 2018 13:09:28 -0400 From: David Lechner To: linux-spi@vger.kernel.org, linux-iio@vger.kernel.org Cc: David Lechner , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Mark Brown , Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] spi: SPI_CS_WORD followup Date: Tue, 18 Sep 2018 12:08:47 -0500 Message-Id: <20180918170850.2749-1-david@lechnology.com> X-Mailer: git-send-email 2.17.1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This is a followup to the series "spi: introduce SPI_CS_WORD mode flag" [1] to address some review comments. - The first two patches handle the case for GPIO CS - The last patch is the IIO patch from the previous series with an expanded commit message. [1]: https://lore.kernel.org/lkml/20180913003920.30600-1-david@lechnology.com/ David Lechner (3): spi: always use software fallback for SPI_CS_WORD when using cs_gio spi: spi-davinci: Don't error when SPI_CS_WORD and cs_gpio iio: adc: ti-ads7950: use SPI_CS_WORD to reduce CPU usage drivers/iio/adc/ti-ads7950.c | 53 +++++++++++++++++++++--------------- drivers/spi/spi-davinci.c | 3 -- drivers/spi/spi.c | 6 ++-- 3 files changed, 35 insertions(+), 27 deletions(-)