Message ID | 20181120124814.23293-22-jagan@amarulasolutions.com |
---|---|
State | Changes Requested |
Delegated to: | Jagannadha Sutradharudu Teki |
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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="SXJ0Yplh"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42zm9G4gn5z9s3q for <incoming@patchwork.ozlabs.org>; Wed, 21 Nov 2018 00:03:30 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C6CE2C220A4; Tue, 20 Nov 2018 12:55:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8B2D8C2210B; Tue, 20 Nov 2018 12:49:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 226FAC220D0; Tue, 20 Nov 2018 12:49:39 +0000 (UTC) Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by lists.denx.de (Postfix) with ESMTPS id 8A307C220F3 for <u-boot@lists.denx.de>; Tue, 20 Nov 2018 12:49:33 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id e5so964529plb.5 for <u-boot@lists.denx.de>; Tue, 20 Nov 2018 04:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=duQcG3hEbT6ithd7O9rAGFAiDOa0nOfhdjNb0drRc+E=; b=SXJ0YplhzF4ycHc0SnQjXnzz7T7TvagDsu3IKLOgARABM44zHT1eBoqYw5Lw4PWH5z cKqM9fUZ26bTN5FYwD8viIQVkTOEkE17t/yZJTPnaxhRlhAc5ee6Tsr1B5SrLrHhA+pQ 4WXrFROYY64hkz0M0P80kzoPsvlFkakBLamaM= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=duQcG3hEbT6ithd7O9rAGFAiDOa0nOfhdjNb0drRc+E=; b=Ro6sW907nRLaMMw4pm5Mzvs7mSfum3nnxXv0CS+UH7Qqu30kie7WU8N27/DVsKNJjE E5JjUQPDy5vKGZfKoXLPCTiTGW6Uzjam4i8Lr58oC1hdf5t+xw0Kf0ClMqahjeCbGPGA j7/llE/yyBcQjAousi/2CiiUh1RQKwqtxgpjByA+6Wq8ID+Itm/ievmiWsHJKIqYcF5E 2oPpkbT/813/9c/2UiEXAUU/7GknFn885hM1SzNndW5qkPYdB+EE7+TDJpgwUJvXYNfC VFcJlHth2PiB4VlW2hVu7Rf0Vw1IcLzP1EWPUflpNsOyQ/LMAaakeL1vSjPJ6wnOXM2D Mdjg== X-Gm-Message-State: AA+aEWbg5Y36KHZiO1UN1OH6eYJkIxQZ2/qn88bG5T4m4E+yal1pF1TP 3Y8mxgHZ16M74Bx1VYtpGCDTdfoUtQI= X-Google-Smtp-Source: AFSGD/VMPe6UHBCDT5SDNSXyEJFGV3BVp0c01GuuOeVdmb2M85s1r8+Mb6zWARJKX5827K9795rH2A== X-Received: by 2002:a17:902:a50a:: with SMTP id s10mr2004427plq.278.1542718171891; Tue, 20 Nov 2018 04:49:31 -0800 (PST) Received: from localhost.localdomain ([115.97.190.86]) by smtp.gmail.com with ESMTPSA id b5sm34880349pfc.150.2018.11.20.04.49.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 04:49:25 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: u-boot@lists.denx.de Date: Tue, 20 Nov 2018 18:18:01 +0530 Message-Id: <20181120124814.23293-22-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181120124814.23293-1-jagan@amarulasolutions.com> References: <20181120124814.23293-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Cc: Tom Rini <trini@konsulko.com> Subject: [U-Boot] [PATCH 21/34] spi: mpc8xxx: Fix if check X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
spi: DM_SPI migration timeout!
|
expand
|
diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 1e7c0144c2..e09e91c8e9 100644 --- a/drivers/spi/mpc8xxx_spi.c +++ b/drivers/spi/mpc8xxx_spi.c @@ -132,7 +132,7 @@ int spi_xfer(struct spi_slave *slave, uint bitlen, const void *dout, void *din, /* Shift data so it's msb-justified */ tmpdout = *(u32 *)dout >> (32 - xfer_bitlen); - if (bitlen > 16) { + if (bitlen > 32) { /* Set up the next iteration if sending > 32 bits */ bitlen -= 32; dout += 4;