Message ID | 20210125035521.23466-3-matt@traverse.com.au |
---|---|
State | Accepted |
Commit | 6b4eb604eac8d0dd4f119dcf5523545fc779fafa |
Delegated to: | Priyanka Jain |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=traverse.com.au header.i=@traverse.com.au header.a=rsa-sha256 header.s=fm2 header.b=hpvshy7x; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=Dc9NUtBs; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DPGK164Wgz9sT6 for <incoming@patchwork.ozlabs.org>; Mon, 25 Jan 2021 14:57:09 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4B55C826CF; Mon, 25 Jan 2021 04:56:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=traverse.com.au header.i=@traverse.com.au header.b="hpvshy7x"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Dc9NUtBs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 787AF826A8; Mon, 25 Jan 2021 04:56:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B6AC3826AD for <u-boot@lists.denx.de>; Mon, 25 Jan 2021 04:56:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matt@traverse.com.au Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id F3CB55C00AC; Sun, 24 Jan 2021 22:56:46 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 24 Jan 2021 22:56:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=/KqLIC8WyE/7N S0w4auxoHVEWAm4eByW0MpUskmGuzM=; b=hpvshy7x/9T47FAapf2hSvv11M6Xh MOeII2j8BHO/cXOYcAI8ptyjSWmk+Kyf2Dl3NwQ65+lHyq8WFA0FU36q6BR7gGWb VCvNGOEohb/Ev+PHjzkFj5ikCmj33oJ4vDF9Uhq3SB35RebjTKxsgo5eHF7KSO/S uru8W7br8cT6MKS4+I5p4aVcvGt6dQzMqE0DTQApH5TkoUhkQAuaee1mB/NoZPwD eGfIfIHxPXK1G67YwMfCjuDTu1tMVKlnuxopsThRb2bKVD5Wmw7O8mDeJ4TM9gXG V98V+lBKXkvmXN72F1LqZpBP2P9BflKAg8/0JvvCN+sRKA9hHB4Gz5A/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=/KqLIC8WyE/7NS0w4auxoHVEWAm4eByW0MpUskmGuzM=; b=Dc9NUtBs nOrITv4PZXdQD+84At4jCwuh1O2aImTzKXLa3fsZye0dENbgagBx8AlIsaOMhF5z DyNYWUsx8Noci0dbgIsLGb6rMchRqBMZJQsDnx4bUqvp3juT2qGoRJ3yjQmttYtu dANfGC1A5va99tSpvDoNklppP7Di7irZI23IxwSC6iZxfq0cRe7X/PsDv7jAjiKZ vsjcp47Qj7FBzr70o80NHngrBCLq4LgD+npiAuJB5zokghZpV8n/bub95ZpxaH1S jFMNjV0LerB2Br6miY+/0BZhQzSmhgaAbmSsfVMWwrxeFKaerSyEH+KOba/x1HoZ G4h2GAAleiiOUA== X-ME-Sender: <xms:fkEOYOGDRJxmmfQKeg_fdM7tujeSStXIOB_Nv4nDCcB0oDXeUpXhYw> <xme:fkEOYPVoChHmeEWIMUwiFhjZOjZeLw_Sl50-s0mddIxlWZzxYbbvWW1T2180ti0XN tHUsnfSzDbajOlKItQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddutddmnecujfgurhephffvufffkffojghfggfgsedtkeertdertddt necuhfhrohhmpeforghthhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghvvghrsh gvrdgtohhmrdgruheqnecuggftrfgrthhtvghrnhephedukeegvefhfeeuiedugeejlefg iedtveevkeektefgieetteetffelveevtdelnecuffhomhgrihhnpehkvghrnhgvlhdroh hrghenucfkphepudduledrudejrdduheeirddugedunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomh drrghu X-ME-Proxy: <xmx:fkEOYIIm98rlQn7TieXrmF5i-mZNDNzvZqM297egx2PQU4xmLRxCyQ> <xmx:fkEOYIGdj_iFK6Dbt27TIyhDx0_cWN_0GNpy9BDJAjbLLSM-fGobPw> <xmx:fkEOYEW61ympC9Qa8YTf-ouGVr7J3n1qoiHfHr2fufx-dThP4tV3BQ> <xmx:fkEOYCxuCl33iZlggW7LdLJg0D3TeiOjG0TH3HQgO8DxVA9B9xfdmg> Received: from localhost.localdomain (119-17-156-141.77119c.mel.static.aussiebb.net [119.17.156.141]) by mail.messagingengine.com (Postfix) with ESMTPA id 9BB551080057; Sun, 24 Jan 2021 22:56:44 -0500 (EST) From: Mathew McBride <matt@traverse.com.au> To: u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com>, Priyanka Jain <priyanka.jain@nxp.com>, Pratyush Yadav <p.yadav@ti.com> Cc: Mathew McBride <matt@traverse.com.au>, Michael Walle <michael@walle.cc>, Mark Brown <broonie@kernel.org> Subject: [PATCH v2 2/3] spi: fsl_qspi: Ensure width is respected in spi-mem operations Date: Mon, 25 Jan 2021 03:55:21 +0000 Message-Id: <20210125035521.23466-3-matt@traverse.com.au> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210118235256.29748-1-matt@traverse.com.au> References: <20210118235256.29748-1-matt@traverse.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 8bc7038a82..2a1f3a0c44 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -409,7 +409,7 @@ static bool fsl_qspi_supports_op(struct spi_slave *slave, op->data.nbytes > q->devtype_data->txfifo) return false; - return true; + return spi_mem_default_supports_op(slave, op); } static void fsl_qspi_prepare_lut(struct fsl_qspi *q,