From patchwork Tue Apr 4 17:16:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tharun Kumar P X-Patchwork-Id: 7716 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp58250vqo; Tue, 4 Apr 2023 10:50:34 -0700 (PDT) X-Google-Smtp-Source: AKy350b+7Mn2jNGrlp2TELSgESmLo6JXcPIPrVExBAi4JOssvyu3p+gdtRjvCRrqV95hW2vAgR5T X-Received: by 2002:a17:906:1317:b0:937:9a24:370b with SMTP id w23-20020a170906131700b009379a24370bmr352676ejb.67.1680630634698; Tue, 04 Apr 2023 10:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680630634; cv=none; d=google.com; s=arc-20160816; b=MW1JpXOMyzeEMe8EIybh9NgzrIxrmeJcw6JSzPj8VOGFB/LxtIExj5P+0mpdFygFyF pLNVHk1fJutQ/XQpj37kZPy/poY/fIgLYx74dsPz7zi1rPzJRb2nA1qb/c5stppMlzr9 ugjDrU1arndjtOciA6rJBcO/uz7/IgBQZi0SInL6OnfKUiLad1G/H8nbYZ55KhsPXr6a mqqx3EFnHCSjsPb3kqmZy1UnmKneQvzoWQ6sXZyD+QNQPXQGwUpFiS56j6hQJr3gLYmJ cW3oGfl/XRlNShdePNaQ5GzN4x/wMhnxYSYd3rza5sK5ki+sovEPMVvtNPRakwVyA5fV JMFw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LWIZrQsqcT4fAxAYdymdcRxKlb9SmDDDvhSTUdM0ZmQ=; b=HKQPyVQ5yddkP17xkmJAGYc3JcgXMTB7O+RlkKcICXqXdUTN8LAVy61TcTg+tLBPuR G2edqKdwfbE4JWfEMr+QFNqxKcMfSITUQ+JZ1oEcVr93DONrk+DxJioG3VsM9EPIrNTL Q/7OiAKyjOUBLMDA0rGmJPDJcnNTCAoQ1Koc8VyIpKUi86vpSqjSpPZAeUo4EMPjjAUJ L/XC9jLLZICE6kdDRtNodS4BEOifRFlCo2nxQHNswIxaHuJsuogvLTiFQt0sshAzaMow 0RHvP7vT9qhV+LVHtpkQd1SSg+Um7rQA7Db0I7169nlxnbytuCI8FZWQeYzJSpuGWX1U uxmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=HNqSvITo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd12-20020a170907628c00b00947eafcd6e4si3023384ejc.911.2023.04.04.10.50.10; Tue, 04 Apr 2023 10:50:34 -0700 (PDT) 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=@microchip.com header.s=mchp header.b=HNqSvITo; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235834AbjDDRQ7 (ORCPT + 99 others); Tue, 4 Apr 2023 13:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235710AbjDDRQy (ORCPT ); Tue, 4 Apr 2023 13:16:54 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7993610FA; Tue, 4 Apr 2023 10:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1680628612; x=1712164612; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Y/b1MRTx2c39EaWfOqjznrO4Us/4HnZFtVn5WYJHB70=; b=HNqSvIToo75+ARIY16fcx3Phkaf7Drg31MvDPS9CSWKEQ/6V4oCZRXzI Me0/yPQv3Eq9zEJaqKBc+TWTqe0fr03Nm8iMr9569G7UQkT8HO87Y23JR 5JJqP3i3v8rLZ4t9CP+Z3hmWc1cLYlI8f7r4xIfoQb7/lFdz2N/b+/OPo n2GL1vd2R7tAtYDQD22eCzS+nRUTdLyqdYeuGRpTu+m2A7PLPBmv2Bz2k 9dEen0UTaq0/ojxVrnJXXzmyavrW65glBUykfsh4g+nzGNEi0s8GfXMsO C0QGdGmIIcbPrQQI+qt3pwobeuzOVX4IRieFm2oxQOO4j3PoILSTwgfxB Q==; X-IronPort-AV: E=Sophos;i="5.98,318,1673938800"; d="scan'208";a="145482256" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Apr 2023 10:16:51 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 4 Apr 2023 10:16:44 -0700 Received: from CHE-LT-UNGSOFTWARE.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Tue, 4 Apr 2023 10:16:43 -0700 From: Tharun Kumar P To: CC: , Subject: [PATCH SPI for-next 0/3] spi: mchp-pci1xxxx: Fix minor bugs in spi-pci1xxxx driver Date: Tue, 4 Apr 2023 22:46:10 +0530 Message-ID: <20230404171613.1336093-1-tharunkumar.pasumarthi@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762268948712351559?= X-GMAIL-MSGID: =?utf-8?q?1762268948712351559?= This patch series fixes the following bugs in spi-pci1xxxx driver: 1. Length of SPI transactions is improper 2. SPI transactions fail after suspend and resume 3. Incorrect implementation of pci1xxxx_spi_set_cs API Tharun Kumar P (3): spi: mchp-pci1xxxx: Fix length of SPI transactions not set properly in driver spi: mchp-pci1xxxx: Fix SPI transactions not working after suspend and resume spi: mchp-pci1xxxx: Fix improper implementation of disabling chip select lines drivers/spi/spi-pci1xxxx.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-)