Message ID | 1553666207-11414-2-git-send-email-skomatineni@nvidia.com (mailing list archive) |
---|---|
State | Superseded |
Commit | 7b3d10cdf54b8bc1dc0da21faed9789ac4da3684 |
Headers | show
Return-Path: <linux-spi-owner@kernel.org> 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 EDFCC139A for <patchwork-linux-spi@patchwork.kernel.org>; Wed, 27 Mar 2019 05:59:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D85FA26B41 for <patchwork-linux-spi@patchwork.kernel.org>; Wed, 27 Mar 2019 05:59:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCA31271FD; Wed, 27 Mar 2019 05:59:27 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 8534926B41 for <patchwork-linux-spi@patchwork.kernel.org>; Wed, 27 Mar 2019 05:59:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732249AbfC0F5F (ORCPT <rfc822;patchwork-linux-spi@patchwork.kernel.org>); Wed, 27 Mar 2019 01:57:05 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:6965 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbfC0F5E (ORCPT <rfc822;linux-spi@vger.kernel.org>); Wed, 27 Mar 2019 01:57:04 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id <B5c9b10aa0003>; Tue, 26 Mar 2019 22:56:58 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 26 Mar 2019 22:57:03 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 26 Mar 2019 22:57:03 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL103.nvidia.com (172.20.187.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Mar 2019 05:57:03 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 27 Mar 2019 05:57:03 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.161.83]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id <B5c9b10ad0001>; Tue, 26 Mar 2019 22:57:02 -0700 From: Sowjanya Komatineni <skomatineni@nvidia.com> To: <thierry.reding@gmail.com>, <jonathanh@nvidia.com>, <talho@nvidia.com>, <skomatineni@nvidia.com>, <broonie@kernel.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <kyarlagadda@nvidia.com> CC: <ldewangan@nvidia.com>, <linux-tegra@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-spi@vger.kernel.org>, <devicetree@vger.kernel.org> Subject: [PATCH V1 02/26] spi: tegra114: clear packed bit for unpacked mode Date: Tue, 26 Mar 2019 22:56:23 -0700 Message-ID: <1553666207-11414-2-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> References: <1553666207-11414-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1553666218; bh=6yXtfBMzY0mBKehXBhCNAfLgdVnlj0a4JIk5jPR7MxA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=bI/IREsxtcA2TJZCPz49O6IJ4i9w8T7Dy8iePmNwEvE2uyXyK8PG3zi+Bnd6pB8O0 Ffip77nDGT4tLpX04y7AzDytNEMf3v5+SCFQ9UxR7qrL8KEWZzqPBJelLor6w8BOWf V0H/xNhgrrgc+CMUJIEkURM4rfGwT0toPt/QQEBHtMvj7tBP9aYVemkhRsQF00qqaj Jpf3MpRE3kTpZd240IVb9NlVj7XsgweCgoosH5AFFeOqz47CtFOpLWT0OWGIpqFjrl pf5KSXoE2btLP5O+1xUpboMNUt/FjcMV6xDO5ib2EBbWBPYbGyXmiZoD6uLjPiblzp Yr8EfUAuE/2Xw== Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-spi.vger.kernel.org> X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[V1,01/26] spi: tegra114: fix PIO transfer
|
expand
|
diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c index 5a21bc808bb6..82431115b7c0 100644 --- a/drivers/spi/spi-tegra114.c +++ b/drivers/spi/spi-tegra114.c @@ -731,6 +731,8 @@ static int tegra_spi_start_transfer_one(struct spi_device *spi, if (tspi->is_packed) command1 |= SPI_PACKED; + else + command1 &= ~SPI_PACKED; command1 &= ~(SPI_CS_SEL_MASK | SPI_TX_EN | SPI_RX_EN); tspi->cur_direction = 0;
Fixes: Clear packed bit when not using packed mode. Packed bit is not cleared when not using packed mode. This results in transfer timeouts for the unpacked mode transfers followed by the packed mode transfers. Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> --- drivers/spi/spi-tegra114.c | 2 ++ 1 file changed, 2 insertions(+)