From patchwork Fri Jul 15 01:39:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: apronin@chromium.org X-Patchwork-Id: 648632 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rrFbt6lYfz9s9N for ; Fri, 15 Jul 2016 11:39:22 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bNs60-0002UZ-Ps; Fri, 15 Jul 2016 01:39:16 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1bNs5z-0002UT-NG for tpmdd-devel@lists.sourceforge.net; Fri, 15 Jul 2016 01:39:15 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of chromium.org designates 209.85.192.182 as permitted sender) client-ip=209.85.192.182; envelope-from=apronin@chromium.org; helo=mail-pf0-f182.google.com; Received: from mail-pf0-f182.google.com ([209.85.192.182]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1bNs5y-0004zQ-TF for tpmdd-devel@lists.sourceforge.net; Fri, 15 Jul 2016 01:39:15 +0000 Received: by mail-pf0-f182.google.com with SMTP id t190so35478169pfb.3 for ; Thu, 14 Jul 2016 18:39:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4vtAo2AYe2ass2DItsQRqvY3njZZGPI7s2NngWmd3AU=; b=JXX52e2zso0TRSXMhpY+ttLc2x4OYHFVrGVAE7cPLyUdDV6yxxfeCvkhSz7yE958/M AF+4rHsgg4Asr+Ok/PMxZ0j/ePWSLlz011y8QT2hcgSz2ReMyl3pTdHDM5LVLNn7KoJI hspm2nyYIbl7FWCPlGLfFAG850i9Piq4jF3OZQg3NMgLb5crcjFTBZxdEYoVuwu9/D0R xLjLhW5uJXvVAQdc4iwygwkJM92xQcUNpcKmniVfmx6pKgQyB+TsWooueifRHubPO9iM 3qvNagmh30yF1LiIAMiEN0yd4DqqElhesVEEJ/pyDmOJyedkw++ImXt/bo9KxRam9+eo OTDw== X-Gm-Message-State: ALyK8tIvpUt6hFcFEDzBPYChBmBAzOXGNE5Tj1RQkHkT84u6MrVtmDeZBU/h0Yq8iIz+ktW4 X-Received: by 10.98.35.145 with SMTP id q17mr8532288pfj.42.1468546749283; Thu, 14 Jul 2016 18:39:09 -0700 (PDT) Received: from apronin0.mtv.corp.google.com ([172.22.64.136]) by smtp.gmail.com with ESMTPSA id g26sm6490883pfj.82.2016.07.14.18.39.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jul 2016 18:39:08 -0700 (PDT) From: Andrey Pronin To: Jarkko Sakkinen Date: Thu, 14 Jul 2016 18:39:05 -0700 Message-Id: <1468546745-14646-3-git-send-email-apronin@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1468546745-14646-1-git-send-email-apronin@chromium.org> References: <1468546745-14646-1-git-send-email-apronin@chromium.org> X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1bNs5y-0004zQ-TF Cc: dianders@chromium.org, linux-kernel@vger.kernel.org, smbarber@chromium.org, tpmdd-devel@lists.sourceforge.net, groeck@chromium.org Subject: [tpmdd-devel] [PATCH 2/2] tpm_tis_spi: add max xfer size X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Tpm Device Driver maintainance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: tpmdd-devel-bounces@lists.sourceforge.net Signed-off-by: Andrey Pronin --- drivers/char/tpm/tpm_tis_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/tpm/tpm_tis_spi.c b/drivers/char/tpm/tpm_tis_spi.c index dbaad9c..b103373 100644 --- a/drivers/char/tpm/tpm_tis_spi.c +++ b/drivers/char/tpm/tpm_tis_spi.c @@ -206,6 +206,7 @@ static const struct tpm_tis_phy_ops tpm_spi_phy_ops = { .read16 = tpm_tis_spi_read16, .read32 = tpm_tis_spi_read32, .write32 = tpm_tis_spi_write32, + .max_xfer_size = MAX_SPI_FRAMESIZE, }; static int tpm_tis_spi_probe(struct spi_device *dev)