Message ID | 20230531072850.739021-1-alexander.stein@ew.tq-group.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2699288vqr; Wed, 31 May 2023 00:38:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4APIIFyt3POW+Guy2HZi/JGSi8ZlgG2/b6US06DWwVlggMtRUkVMw8KNzqxMylKEj3G2DF X-Received: by 2002:ac8:57d3:0:b0:3ef:5d8c:20d8 with SMTP id w19-20020ac857d3000000b003ef5d8c20d8mr4544008qta.6.1685518694932; Wed, 31 May 2023 00:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685518694; cv=none; d=google.com; s=arc-20160816; b=v5W4cWAZ9MkdhiT+DKu+4RSVAQ4xpuU+zWlekB+A6ZfAYFarXukz+cmuFi+fRA1cqS 33BVfY9+LlwyE/Znf9sqeeFNvfIghMsfDgwInhOCXQA0SJpx9YV8omdlJk/JjmOHj5Ap ix41s5euzN4R17LJ39Y2NohVc4RfNU4uFqHtRTKu6h59YcrMrL/rksHKL/zeg/Uq6h5p L/mqvuTp0SDLzJylolUYJP3lETnQxV+rqWjENvWY59aIfwWJTHKgCoTklisKgWJ+a5il eFGukB+bFeHL050AvwehWMxDJhRP51UT4B1DxBdLj2Ag6Vw6YNJbn1KFQ+Mu65B0DTYC WmUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=/rCPOtrgMPJMDbH+AA+B4NDRRzzEObWVWt08S/40rhg=; b=K6IyoACCKYqXVY/LqL0dAuD2M9G4ig80xLI1uu5q6I5XAQblQoYMD6TvJHsPLQSvVn YIC0lo4p4s4yD6oXW/nFXO74MU342N95YHDvCe6lbQnrP+Kmm2NXdZevhWastPnEdHi+ LsJPPtAfSlWG+AH62yG6qPEp7PVonyKZiLNSPQd/jBFlUGHWz4t48lggIOXp7I5W1omO q+qwbLf4uZak6Gyidj8qGBccro7pIhr2wJ+R2jEU0H6SZ+bke6xsdOmcH3N+di5Uv2ge D+dUsOTOm6BkHHvTazARMzWE3cHbCxua7kgzMDchDaQg1D4AwUjc6bf9Nv6k4xKywmE5 kvoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=P9uMQngF; dkim=pass header.i=@tq-group.com header.s=key1 header.b=YkUU+MDW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd17-20020a17090b4cd100b0024b9e5aa258si596675pjb.0.2023.05.31.00.38.00; Wed, 31 May 2023 00:38:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=P9uMQngF; dkim=pass header.i=@tq-group.com header.s=key1 header.b=YkUU+MDW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231785AbjEaH27 (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Wed, 31 May 2023 03:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232301AbjEaH24 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 03:28:56 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128EB132; Wed, 31 May 2023 00:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1685518134; x=1717054134; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/rCPOtrgMPJMDbH+AA+B4NDRRzzEObWVWt08S/40rhg=; b=P9uMQngFaz4NjtJxA3j5aX3C2lUlBgrWEeib8vhXR00s6iAd0PCv0gqV Kf2mX5DBMaUdca0x/dn9L2i/0xPTyCBHcJe/CqJGUXr+7ODInxtCExl6o DLnYULy9OeCK+ZeIVMA210WfxUBfEpCm340gECds0jGqr5DR6U74F+C3R mYIX5RpCKTuMkhjQsbbB03sGO8dvnHQMqlgjwRyolrdPQ5C1rRWri7ulF qmTvQfvt4AtssVZrXE/jiWfgHqVw0oUfxWvJHgXYew+HgcQcDHWolN/hL ntwA3yuV/sM0WJFXSUn2a4laQkKQo6tqW4WHJt4Gd0/+PTeMxgsAe1P9E g==; X-IronPort-AV: E=Sophos;i="6.00,205,1681164000"; d="scan'208";a="31184666" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 31 May 2023 09:28:52 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 31 May 2023 09:28:52 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 31 May 2023 09:28:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1685518132; x=1717054132; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/rCPOtrgMPJMDbH+AA+B4NDRRzzEObWVWt08S/40rhg=; b=YkUU+MDWnIZ5M6JtK+hHFen1TAn2HfZih9tuYYr7yRARDFPLzihfnLW/ ixTQoVzqIm2AEv6ZtBd9lWXqPnVvYnp5zuHk+5TogiS1pGP0zVvVAaE+6 1r+iHtLo8HpqmA8f9u1vJoK7SwIjIU2tOsAbrg1GntFWEKgJd6bAOEIN0 byUOuaiEOB8XCgJuyRlkZGBgjbYJiW2kCF6BeoyT6rIqT8Y3G5VCWwOox l6G9Vqo7peGtjGelF1xiDrgIT3Jxxc0ajBj+aJC1NBORQ2/RV8PHJ3NbC OPx39NBqDBuKmi+gxwwVcJ7tGzk9QZuRjfLm0mhTql3Sl5IlsFmxqVeWj g==; X-IronPort-AV: E=Sophos;i="6.00,205,1681164000"; d="scan'208";a="31184665" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 31 May 2023 09:28:52 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 4A278280099; Wed, 31 May 2023 09:28:52 +0200 (CEST) From: Alexander Stein <alexander.stein@ew.tq-group.com> To: Mark Brown <broonie@kernel.org> Cc: Alexander Stein <alexander.stein@ew.tq-group.com>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] spi: spi-fsl-lpspi: downgrade log level for pio mode Date: Wed, 31 May 2023 09:28:49 +0200 Message-Id: <20230531072850.739021-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767394450897837781?= X-GMAIL-MSGID: =?utf-8?q?1767394450897837781?= |
Series |
[1/1] spi: spi-fsl-lpspi: downgrade log level for pio mode
|
|
Commit Message
Alexander Stein
May 31, 2023, 7:28 a.m. UTC
Having no DMA is not an error. The simplest reason is not having it
configured. SPI will still be usable, so raise a warning instead to
get still some attention.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
drivers/spi/spi-fsl-lpspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 31 May 2023 09:28:49 +0200, Alexander Stein wrote: > Having no DMA is not an error. The simplest reason is not having it > configured. SPI will still be usable, so raise a warning instead to > get still some attention. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-fsl-lpspi: downgrade log level for pio mode commit: d5786c88cacbb859f465e8e93c26154585c1008d All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c index 80f7367095ab..fb68c72df171 100644 --- a/drivers/spi/spi-fsl-lpspi.c +++ b/drivers/spi/spi-fsl-lpspi.c @@ -917,7 +917,7 @@ static int fsl_lpspi_probe(struct platform_device *pdev) if (ret == -EPROBE_DEFER) goto out_pm_get; if (ret < 0) - dev_err(&pdev->dev, "dma setup error %d, use pio\n", ret); + dev_warn(&pdev->dev, "dma setup error %d, use pio\n", ret); else /* * disable LPSPI module IRQ when enable DMA mode successfully,