From patchwork Tue Jan 23 15:34:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13527642 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 4DFAAC47DDF for ; Tue, 23 Jan 2024 15:35:57 +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:References:In-Reply-To: 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: List-Owner; bh=WPp4HbsmgPNnyZLILH0w5dDJnwBlvlpfY6K8kT9Cots=; b=fKAym5Zd8TfZ/Q aMln7KY9mtFnAgQ5rNzciV9bHIWBzlc2gGKgvkyTYGiG4qbbSlKYHX5QgG5T8poS+hOqo6RK4v7fE SjUN8sH6NpMAgluj1kMKTnKwtm11pZbPZ1N9I4nHmsfSfxMxMDuswqVKziSbQiyThN0TVckEi+/8G pOnYZTJScic7lgHMQCJGp43ISWdrYcttk9SeM9OYhccLhav6YJQQ63zDdbbTlGBUB3xcDw7je2eDt f0boNeumTrkcdagXQl92T14oqdRBycN0sEzOCP57EbALZGzK98BQeV/trfCV+sXSVHlb30FZoQz7I 2PzroEVhIrquE1FFwGvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSIo6-00H3yd-2u; Tue, 23 Jan 2024 15:35:22 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSInU-00H3Sd-2b for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2024 15:34:46 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e86a9fc4bso57491065e9.2 for ; Tue, 23 Jan 2024 07:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706024081; x=1706628881; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/irE8ZyZqV8JPqhFZspW4QvYBkIBZkdLqpFIYT3Nu0M=; b=CnkVu6FX1hflQN9MxVs9zpm9bTWiiU6YcuWYYZ2qQyL0xLOVW48r3MOu0eWojEHTGH psZyXxTqstnAozjA3XgGoJgBsNJ3cAq3BXOEav1uJVeUghye0JRT6Pqv9Rmi4QJXEaIy L+KKWd+jktGDUFWyMqn0+8wBHO0oBFGpTSOSncyIeAyxKlLsFCNCRP3Ssiqf1+xV6q9K NkeO5zOtx7uwVeDuHUpQ4R5Quwv/ocREECZIqGcnBZhhItqBiWcF1pUzQipsnx1055Fm jArkWWcaqS6gcWUl0kjUavrY2IujaqEDvjoRXBvjOpp6ZFxArwe7nojWXYeFnTrHkh6t 8jZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706024081; x=1706628881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/irE8ZyZqV8JPqhFZspW4QvYBkIBZkdLqpFIYT3Nu0M=; b=mjoCa/5HjgqfYIBqOTm4YF1d3DVpGnS0LDBjsYDta/QvehnF7S5Ua40q5582aNhf68 8Ns24x76Fia7F53oagi/7zNDYtqz+2vGXFrrJzAtj8fT0zHF3cLNNLW7uD6qKS4buV3w peaWtuLqK7wubdEu0Pn5Lzfk1dLIR3aruRKeKguUuCxgxym0hoAGUhzJJXfDt6+lO9Op pTQ11E2lPe3pwz2axFLqljgERkM4pUDvzDt8H6qFXcuKz2qGsGyzUucZfCDFE8UbImcL A4MbqIO3O1MmB/lhuoUwa49NlVA8bGfZ5ti4w0lTgfaQXEhO9jTdlj8G/QNaDi4oJh6e 7cTg== X-Gm-Message-State: AOJu0YwQQnNDf5e+JXROSsasW2FDS5cyHleAJPs4MjjKfVXKu72QpVoE AhQBmyB6K9MqRIaz1PLoeVyIkGic7HuJ2VkNx7Q/g7SA6FUBks0Yq8CVeG+1oOY= X-Google-Smtp-Source: AGHT+IFnQUAOFj2XlDJpBxTuWZdr7PkB/FRu7Br6988kcrenHLZAgS6ZvP6iNS1JTyl+7ezr01rrMA== X-Received: by 2002:a05:600c:46ce:b0:40e:b036:d92e with SMTP id q14-20020a05600c46ce00b0040eb036d92emr249779wmo.144.1706024081101; Tue, 23 Jan 2024 07:34:41 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id p21-20020a05600c359500b0040e3488f16dsm42457536wmq.12.2024.01.23.07.34.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 07:34:40 -0800 (PST) From: Tudor Ambarus To: broonie@kernel.org, andi.shyti@kernel.org, arnd@arndb.de Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, semen.protsenko@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus Subject: [PATCH 17/21] spi: s3c64xx: downgrade dev_warn to dev_dbg for optional dt props Date: Tue, 23 Jan 2024 15:34:16 +0000 Message-ID: <20240123153421.715951-18-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240123153421.715951-1-tudor.ambarus@linaro.org> References: <20240123153421.715951-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240123_073444_883261_1C8191E0 X-CRM114-Status: GOOD ( 11.95 ) 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 "samsung,spi-src-clk" and "num-cs" are optional dt properties. Downgrade the message from warning to debug message. Signed-off-by: Tudor Ambarus --- drivers/spi/spi-s3c64xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 2abf5994080a..62671b2d594a 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1065,14 +1065,14 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev) return ERR_PTR(-ENOMEM); if (of_property_read_u32(dev->of_node, "samsung,spi-src-clk", &temp)) { - dev_warn(dev, "spi bus clock parent not specified, using clock at index 0 as parent\n"); + dev_dbg(dev, "spi bus clock parent not specified, using clock at index 0 as parent\n"); sci->src_clk_nr = 0; } else { sci->src_clk_nr = temp; } if (of_property_read_u32(dev->of_node, "num-cs", &temp)) { - dev_warn(dev, "number of chip select lines not specified, assuming 1 chip select line\n"); + dev_dbg(dev, "number of chip select lines not specified, assuming 1 chip select line\n"); sci->num_cs = 1; } else { sci->num_cs = temp;