Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3905422ybh; Tue, 6 Aug 2019 03:19:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+66KYeh5+XdDVnlDHyerxHPXRwUUan97BEqyvt0Fl3ocR3aOSdKrBFGCSWiG5bGuZM8QD X-Received: by 2002:a65:6288:: with SMTP id f8mr2333705pgv.292.1565086768868; Tue, 06 Aug 2019 03:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565086768; cv=none; d=google.com; s=arc-20160816; b=YxxIgi5XQnlgj/FEvBT4zQw74RvSvM15H0IeY0+l9dGPGWae2qeTa/KD0xZhZFrmYw nLLpxxZAnAQ/in9uHWjYKTrRFihA9vGXYlo5uoylZCIObbpcGNU41jl1W9z5STwUGKsz w5dmb42g7G6d9a6JSWmhAerj9a2ZFTP28LnjDs1yfmcVwZWXJNWB0C81QpJl6XpY/Mvm KYv6v1/w7n3VwoloJAGFcVxx0/prwX/VDCDz0OMlbR5kqe4bLznIszby5PVAqmhN+UYM k89YfW/76zJpQvnn6v1XHsj+u70oAI10EBDLZn37Jr0fqJ6Yo5HpG91UeOXtwYXDvDJ1 qIaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=B2Az8FZ7ku0X2inJnd7funCGhhLUuh16TDsRGjU7wPY=; b=rivcNB3seh0z04POs9GI3zhT2tYUJ6PXcOJeLwBSgWCKxozTC0CnnlNAPxZZ7pE1za /OeBva1jDRHjvu2qQhmSdHUcrV/IafiYByOzo1oRYHTjSutykU0sOVsr+rfQw4ZFmdg0 +2JqhS8lsvOCiBCCLzRltu4ixjnPKUr/bM4sIfQ28EHlzFhIKzordXPsjfsFwSvktUaX peWRYGqgwd0HooafR1kqoLevkvrh/JtTe/y44yt6Q7D5WX0FFPDuAXqdfROT568N+suI X/OePAxucbvFispgYFVTRwh1xoDpP6KbFjHNvUvEj1XRWpBIDa4VDy6J8pxBMKsnnLZo Yc0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=YLSHDIxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f25si51436516pfd.157.2019.08.06.03.19.12; Tue, 06 Aug 2019 03:19:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=YLSHDIxE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732474AbfHFKSd (ORCPT + 99 others); Tue, 6 Aug 2019 06:18:33 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:47009 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbfHFKSd (ORCPT ); Tue, 6 Aug 2019 06:18:33 -0400 Received: by mail-pl1-f196.google.com with SMTP id c2so37659336plz.13 for ; Tue, 06 Aug 2019 03:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=B2Az8FZ7ku0X2inJnd7funCGhhLUuh16TDsRGjU7wPY=; b=YLSHDIxEYeh158kEGbiXMI86GIByE6ZBeC0wvOq22XFHllvFtRDEVX/D4B2rCKIkpU B95CBSqrEOjKGdoZI6typuPUN1FG/78x+D6pL8LNHFsHe0YSQYZwO+nNZiMOca5i3WsF HH1Csge+AVd6PV0yT31mCQliC59Y77ttlGxFU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=B2Az8FZ7ku0X2inJnd7funCGhhLUuh16TDsRGjU7wPY=; b=gbq0jjWeWjW015xJBbWaC6GQcn3b93abRo6Fm1A2XvIJsWNnzj/lxWfkUWrvhr6wvq 9jaukn9EL/n2Cs8cgt1Nzt3eXL3zYC+eYhjkqKEa2GLytwUqma0el14PC3c1JGW4s3im ZfrWdoJg4EKL08gdayq3yfs4EUDfJFA87vnOovKWasQ1QVvZw39W7565RIwizbDsMb0c LCIyUAC08/6arOxLDCC3JmVatNugFRnAKNJ5S5elb2ndCOoxZeoGt94Yod/ym4MUkJ6+ /QjO/uyIvVZKnP9yQEZBLI4qu7I46kDkxhRWApCWZS2+Xygr8xSF6IwkIK4SgBPmSL4W dWHQ== X-Gm-Message-State: APjAAAWFK7lwHeraBnmboW2m0GszYAVXNPcEK6vrdg3vRLHPnQrAqlT5 cZKMGQwkjfjO4TvF+V2P7TQGtA== X-Received: by 2002:a17:902:12d:: with SMTP id 42mr2319319plb.187.1565086712671; Tue, 06 Aug 2019 03:18:32 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y23sm90516588pfo.106.2019.08.06.03.18.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Aug 2019 03:18:31 -0700 (PDT) From: Rayagonda Kokatanur To: Kamal Dasu , bcm-kernel-feedback-list@broadcom.com, Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rayagonda Kokatanur Subject: [PATCH v1 1/1] spi: bcm-qspi: Make BSPI default mode Date: Tue, 6 Aug 2019 15:44:34 +0530 Message-Id: <1565086474-4461-1-git-send-email-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch back to BSPI mode after MSPI operations (write and erase) are completed. This change will keep qpsi in BSPI mode by default. Signed-off-by: Rayagonda Kokatanur --- drivers/spi/spi-bcm-qspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi/spi-bcm-qspi.c index 902bdbf..46a811a 100644 --- a/drivers/spi/spi-bcm-qspi.c +++ b/drivers/spi/spi-bcm-qspi.c @@ -897,6 +897,7 @@ static int bcm_qspi_transfer_one(struct spi_master *master, read_from_hw(qspi, slots); } + bcm_qspi_enable_bspi(qspi); return 0; } -- 1.9.1