Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4942980rwb; Wed, 21 Sep 2022 00:26:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dxA8jO7LN0xVPOFtHBdebLT06j4acLtz+cGI165UEDf+y8wQ0fVxskTXczvhEJQIqJqA4 X-Received: by 2002:a17:907:a425:b0:781:3b90:fb84 with SMTP id sg37-20020a170907a42500b007813b90fb84mr12008888ejc.388.1663745176227; Wed, 21 Sep 2022 00:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663745176; cv=none; d=google.com; s=arc-20160816; b=t+ajzVNwHYKowSkkTcjUm5jjKSLEcfXswtt6HYzBo0c8IramVNZIRUmY/lSXA7znc8 QJC+Mhz52RrkzJmPYDn9cJhKAjbRLjpJOzp79Nba724xSRAGE9fR15/N3rSBuRcJvvnT dGnJk4oTstNfL6Z7n/6sy1PLPijEa4GH9wCoy3E3DaSRete5ATldPazVmqYLbZGfj4cP aEqX6qIi70Xb3xvx1HEYahpIHUUUz2J807xpIwMRa458hmNSdtizJoMGPHNVVR6XREZH ryX5tStn9PgPZ+2gmPmyt9jjsPbENkEsjbDp5ou5+YuGzOrNL4eVa+41WEL8G2cUnvLp RRAg== 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=5aFQ+gY4ZhKXyhCePaw76R9ZtER/5cnGJ7n9ZPauJE8=; b=DeG+yAuqRBNne22VsRc/ffpFb9X5C+zdMjMuRYJh7jl11WfyFVKcR2gd0uFD1IhT+7 ySjjQjdBb5NwMealYUNujkq9lw69rwmpCVF2IL86N6J0k6z5JPLqYQkiJSoM2qcFyujp QDF/+CKuCtqjVjhgHZxmZXrW3tJ6IGHXJYZlgxqvEBYOkeYJWZGUmHdaiqb5ay88NW36 J7hOsWmfLgcTrqGlAE62fjQW9bSjDCRS8PCyy0JR7vOKLsG6dtmRDAGabpAktTR7Jnc9 HZlZqkAXqfGNnc+SHPbSAr7mqXwdw1DjbUJ6XPCRGtQpWRP1QC4OPdv2ISLCrqrLcJkt 8FKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=NYCgkcEP; dkim=pass header.i=@tq-group.com header.s=key1 header.b=nSsEZw4D; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22-20020a17090658d600b00780ed38dd9asi1631746ejs.745.2022.09.21.00.25.46; Wed, 21 Sep 2022 00:26:16 -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=NYCgkcEP; dkim=pass header.i=@tq-group.com header.s=key1 header.b=nSsEZw4D; 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 S229716AbiIUHLk (ORCPT + 99 others); Wed, 21 Sep 2022 03:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbiIUHLE (ORCPT ); Wed, 21 Sep 2022 03:11:04 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96E8683054 for ; Wed, 21 Sep 2022 00:10:58 -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=1663744258; x=1695280258; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5aFQ+gY4ZhKXyhCePaw76R9ZtER/5cnGJ7n9ZPauJE8=; b=NYCgkcEPTU8GaROn4GUqvMRVHgYQs/4Zp847YLdhMyvWW/4HNVT1EMIu /b9TWOayQ4UwU4kraJSGPegIYJQwKvWDY9nBZB4wnFtsjmvZSSa4rYOWm 6Rov0M5XJzj6NwDzwSkpSm6wCi8H7bwTdDxn0xEyVm3BewKm0SRaOaGEO JPBFAn9r4fbvIzXlbFpnmlGDCXRhr4MPMd1pFF8UGrjoQ93bYjfwo9vFc XLA9OiIuwh+4tE5qfR8fHZv5EB4LgNaRQGxKg0NnfjN2LoCe3non04M0/ RRJ2NXCsLCcfWJW4pZYqLdcWAsKeFFTRpLFm1w9Hqjqg0zNy5rNYIVFb8 g==; X-IronPort-AV: E=Sophos;i="5.93,332,1654552800"; d="scan'208";a="26300574" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 21 Sep 2022 09:10:57 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 21 Sep 2022 09:10:57 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 21 Sep 2022 09:10:57 +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=1663744257; x=1695280257; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5aFQ+gY4ZhKXyhCePaw76R9ZtER/5cnGJ7n9ZPauJE8=; b=nSsEZw4DD0HSsxOBAsabn425cJ3m3Y9yQ61gqT3awltbvRlCTkG0WbfS tW86JKbexX/rnAD76G5/GmSPxC31BLroyafH9yPOTiO5An/YfVlIs9iKA i5Rb0JCSRotCKYPqjDRIuAJUXy/vljF23iWmBw6PrT5k6e8ReuFWAkOZ0 Ga9lR33ijWwi7OvotLES7Rl0JiiLFmQ/A3/p89BBY1WG4Iq/alHWBjqTy XD5UTjbk78Omj35BoLSlP4ROEiHMmrJyzb5Byo4VOIJXIwe2J1wzt6/Yv N66bXwQ4CZ1N3LVNdhvGAKqmPKSHl4yzdx8Sw/vIdvzEMACvyJuCav0vl g==; X-IronPort-AV: E=Sophos;i="5.93,332,1654552800"; d="scan'208";a="26300573" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 21 Sep 2022 09:10:57 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DA52E280056; Wed, 21 Sep 2022 09:10:56 +0200 (CEST) From: Alexander Stein To: Mark Brown , Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: Alexander Stein , linux-kernel@vger.kernel.org Subject: [PATCH 1/1] regmap: cache: downgrade log level for no cache defaults message Date: Wed, 21 Sep 2022 09:10:54 +0200 Message-Id: <20220921071054.3132504-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.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 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: X-Mailing-List: linux-kernel@vger.kernel.org Having no cache defaults is not a mistake, especially for devices which do have some kind of strapping values which can't be provided statically. For this case a warning is the wrong log level, the initial cache values do need to be read form hardware. Reduce level to info. Signed-off-by: Alexander Stein --- drivers/base/regmap/regcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index 362e043e26d8..89b92eda8b02 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -54,7 +54,7 @@ static int regcache_hw_init(struct regmap *map) if (!map->reg_defaults_raw) { bool cache_bypass = map->cache_bypass; - dev_warn(map->dev, "No cache defaults, reading back from HW\n"); + dev_info(map->dev, "No cache defaults, reading back from HW\n"); /* Bypass the cache access till data read from HW */ map->cache_bypass = true; -- 2.25.1