From patchwork Fri May 19 19:56:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 683922 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 0586CC77B7A for ; Fri, 19 May 2023 11:55:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8E57D200; Fri, 19 May 2023 13:55:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8E57D200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684497357; bh=A8K2XBww0D1RGauwWboUB5sBHSTpiKch0bvCIXJ0u+s=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=eJtjtvh2w38kaBTctpVM+e4zqkdXjOrNRkEmPJ2QfNqBGBI7wFX7utRBDxAqKpZnJ gVcLfspGnnYr+HjDoYyQV3djUXOf69ciNMKCZqg6EDYRKTJTuWseiWbsOdDFfY7QY4 kt6P2QYw776a9gqehbu+wS/pvMhV0iVGRttpKTps= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3C8BCF80551; Fri, 19 May 2023 13:55:07 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 99D07F8025A; Fri, 19 May 2023 13:55:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 77FBFF80087; Fri, 19 May 2023 13:55:02 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 33BE9F80087 for ; Fri, 19 May 2023 13:54:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 33BE9F80087 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=JpCJfnvt DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684497299; x=1716033299; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=A8K2XBww0D1RGauwWboUB5sBHSTpiKch0bvCIXJ0u+s=; b=JpCJfnvtmZmvdsU5nQ1B0CkOczthg4H038ph0E9Z0+Bg9KcGKsMoHD+f OZAD+aEAmvStvTzaL9hnK5/3k20lkJS0B6o0J/v1p3ibA8WhM37EF9anH ulzL45+j++dAvWq+GLWwfKdVRxSNob9grRSJwscIe9YvE3I4aLk+SEOhj mwDghVbfvnvTpzjJteyCV5B4J29kTiunmnskeZxvXQS/j2mDHfmxqqSCa X8fQ2C4uvzMucg91iDW3zGULaWfPOQiwrdSX6p1BX0VTPgqw1iBHJGrmc IM0Uy0yVwGu4eDJCPWAd3NEDjEgzb9y8ARA8o1m4luxSbH7bo6n6up9Fr Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="336946010" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="336946010" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2023 04:54:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="705593773" X-IronPort-AV: E=Sophos;i="6.00,176,1681196400"; d="scan'208";a="705593773" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by fmsmga007.fm.intel.com with ESMTP; 19 May 2023 04:54:51 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Mark Brown Cc: Cezary Rojewski , Pierre-Louis Bossart , Takashi Iwai , Jaroslav Kysela , Ranjani Sridharan , alsa-devel@alsa-project.org, =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= Subject: [PATCH 0/5] ASoC: topology: Clean up error messages handling Date: Fri, 19 May 2023 21:56:06 +0200 Message-Id: <20230519195611.4068853-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: GXNEFZ74FN4F7VIPJRJITGXIYG4KP3DP X-Message-ID-Hash: GXNEFZ74FN4F7VIPJRJITGXIYG4KP3DP X-MailFrom: amadeuszx.slawinski@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Series of patches cleaning up error messages when loading topology. In few places instead of logging in place of failure message is logged in caller. Additionally there are places where both caller and failing function log error, leading to unnecessary logs. Clean all of the above up. Amadeusz Sławiński (5): ASoC: topology: Log control load errors in soc_tplg_control_load() ASoC: topology: Remove redundant logs ASoC: topology: Do not split message string on multiple lines ASoC: topology: Remove redundant log ASoC: topology: Remove redundant log sound/soc/soc-topology.c | 63 ++++++++++++---------------------------- 1 file changed, 19 insertions(+), 44 deletions(-)