Message ID | 20210125035521.23466-3-matt@traverse.com.au |
---|---|
State | Accepted |
Commit | 6b4eb604eac8d0dd4f119dcf5523545fc779fafa |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp3622364jam; Sun, 24 Jan 2021 19:57:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlE+smnL9IXTrBY8FC5laHZ/yn8v36lIzI1l6V77NZdfcl7RnFR9jd6F1JuT6l5+GFdznz X-Received: by 2002:a17:906:358f:: with SMTP id o15mr569322ejb.369.1611547027572; Sun, 24 Jan 2021 19:57:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611547027; cv=none; d=google.com; s=arc-20160816; b=nUNOpZhGJozF2HXfB+vAbmS+2xtCj2aQIpBbLw3AaqkM/5NPeTE62GG7DxgMLUrM7z 3dYw9UMvoACcE3adj8Fnj6yNeyV9nMhS8RPdVfx7QEvrdxdGNm2GyC7M7VEVOQl9u7DR fdWBs9gRbZudEgeQJ5q0cjPO6lO9F052kI/2pwAezcIiyprkSANzU5Pp30LQkTB82ty0 HNjzcs67VUTCINqFcOU+TTf4DQvD8X6DeWETSWFGRfqBlhwK9FkLRlRmIfkyZ/4f053P 2FP/9KLbM9tF3lEUtrTQKOKxnRJKaE9XBPQOjVuxZrMOy71hMUUWTAmy1ySaw3iOT0pE HsHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=/KqLIC8WyE/7NS0w4auxoHVEWAm4eByW0MpUskmGuzM=; b=b6i6dvxyTSeYll/nMYvNelQW8VJXmG1kIqeRDmn+2emHBxcGqUaB+sgP79gBYHWwDT ti6EMeKuZkGKn0TuC6qJbda0Cv+hQnZ0OMDMB5d6InT7nj3EUaWYohXk4XLm+Oh3/Gha Iv3fq45Ax2ksMbV3d0OuRqZ6j39ipr52SYA2Vq+r01oc0hWP+ljRpj5tl8D73KvMtVPx cdOqk0GlmKCJd9BeXc0RHWJ+bGyDw014uV8mUynkIKx3wyDbkfJ1f3pFwNVw6l0ry+dO IjhW1wvuDuC3eEPY+y0ENXD/EodyXh/CcFFYVTX73PP1J8Ct9lqTsEei76dVZSSq7nQ3 2d5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm2 header.b=hpvshy7x; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Dc9NUtBs; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id f22si1433505edw.413.2021.01.24.19.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 19:57:07 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm2 header.b=hpvshy7x; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Dc9NUtBs; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de 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,