From patchwork Wed Jun 22 09:42:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 12890413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 794F4C43334 for ; Wed, 22 Jun 2022 09:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Op3TpYmCHGXS1KusZWz+R8C1rt+7SnTfXjWAzO5VvHo=; b=T/sfAXfhwh++vA mUnS4SDEdQPi9JR+hauvblRfgRcJZ1annMTQHYtSih228BMmqsL6FtqxNIxCNykiX+H2MIU0UIvU+ ie0qw0O/3alGxFk+DJi+aRntbSEejOyWtKn2F1XOKCakQ/cvgBMDD/nkE+9sbNZTqPTYO9XrFeloL cXzDTDASVjMG5ZaqPL2Y7T/fo8ujNCAPTYeH6g+YO8pLGMFS6GzZWMoeiN8Y7mgYUrbD3jzaSR/C6 9Ku6Tl/6ZwxKkzdHaBGX51DZG82hSkkO7UEDba4dbPUxXR/5o7WAd6Bmnu6loeHnbOLeeL5zdiuZV KxY/2V9XXnqtAySnK9cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3wt0-009g4p-DE; Wed, 22 Jun 2022 09:42:58 +0000 Received: from mail.ozlabs.org ([2404:9400:2221:ea00::3] helo=gandalf.ozlabs.org) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o3wsx-009g1v-E2 for linux-arm-kernel@lists.infradead.org; Wed, 22 Jun 2022 09:42:56 +0000 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4LSdj2219wz4xYD; Wed, 22 Jun 2022 19:42:46 +1000 (AEST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LSdhv20GYz4xZb; Wed, 22 Jun 2022 19:42:39 +1000 (AEST) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: linux-spi@vger.kernel.org Cc: Mark Brown , Pratyush Yadav , linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, Joel Stanley , Andrew Jeffery , Chin-Ting Kuo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= Subject: [PATCH v2 0/2] spi: aspeed: Fix division by zero Date: Wed, 22 Jun 2022 11:42:31 +0200 Message-Id: <20220622094233.3681843-1-clg@kaod.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220622_024255_671329_667C64BC X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, Here is a small series adding some debug and fixing a division by zero on a board using normal speed reads. Thanks, C. Cédric Le Goater (2): spi: aspeed: Add pr_debug in aspeed_spi_dirmap_create() spi: aspeed: Fix division by zero drivers/spi/spi-aspeed-smc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)