From patchwork Thu May 18 02:42:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liao, Bard" X-Patchwork-Id: 683429 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 9236AC77B7A for ; Thu, 18 May 2023 02:23:07 +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 6F7296C0; Thu, 18 May 2023 04:22:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6F7296C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684376585; bh=5R52rMefrg7AC6InG7PmqTlOvY+GWOInNf87oqgcKqM=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=IpSqNA59nh3mbfFw7LlZ70W7RpSCpR+qsIQflQ4xR+CfZ3MJdWwGaeySjPUHkS2Zv 9AZMcI7pBNgAg7GF88cqLhVaA3nUI8GCW96BXXjwxj6l/SBBhLSejdrMBZPAqXHeC1 sIuqsgUtub44ajGHHARANtNQsXuJZwTp++lkHw9Y= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2CC6AF8016D; Thu, 18 May 2023 04:22:05 +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 BB467F8016D; Thu, 18 May 2023 04:22:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 11A6CF802E8; Thu, 18 May 2023 04:22:01 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 BFA22F8025A for ; Thu, 18 May 2023 04:21:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BFA22F8025A 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=lDTFwXMj DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684376517; x=1715912517; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5R52rMefrg7AC6InG7PmqTlOvY+GWOInNf87oqgcKqM=; b=lDTFwXMjOvbmPcAcZUxxX6Zmsx4rcNEL6pXerSrmKWC+Ho9cM2gTiiAe zaJYlesjU2K0FRd8QGEFJZupSNBHc2tMv3qXOTD5AHMoTSp3axLZipg+9 NYKBudA8PU3PlD5y+IduulPbgRrEOtkrav2ov7r8weBSsMLWo5510Pxup K/xuSMYzJmhdCCpppWHMuJTMrxWg0e6fLIeptnT8wPbqihwrSjS7EkeM/ IofiTyHJ1vYXr0yqj2en+U67xxtBspy3DJaiHIz//xLA4EOozHRu+6tmS 9xaWIKIJJogo5BUNfF4ADXQSPU7e1pbYpoX3j8BiR0JLusNnVOacs7pTl A==; X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="341339096" X-IronPort-AV: E=Sophos;i="5.99,284,1677571200"; d="scan'208";a="341339096" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2023 19:21:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="876255299" X-IronPort-AV: E=Sophos;i="5.99,283,1677571200"; d="scan'208";a="876255299" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2023 19:21:26 -0700 From: Bard Liao To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH] soundwire: intel_bus_common: update error log Date: Thu, 18 May 2023 10:42:15 +0800 Message-Id: <20230518024215.164281-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Message-ID-Hash: 2IXE7IOBUOUEGB2OPXENBB7MCHWYBFH7 X-Message-ID-Hash: 2IXE7IOBUOUEGB2OPXENBB7MCHWYBFH7 X-MailFrom: yung-chuan.liao@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: From: Pierre-Louis Bossart We use __func__ in all calls of sdw_cdns_check_self_clearing_bits(), except in one case. Likely an editing miss when the code was refactored. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- drivers/soundwire/intel_bus_common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soundwire/intel_bus_common.c b/drivers/soundwire/intel_bus_common.c index be0c93106fc8..e5ac3cc7cb79 100644 --- a/drivers/soundwire/intel_bus_common.c +++ b/drivers/soundwire/intel_bus_common.c @@ -182,8 +182,7 @@ int intel_start_bus_after_clock_stop(struct sdw_intel *sdw) return ret; } - sdw_cdns_check_self_clearing_bits(cdns, "intel_resume_runtime no_quirks", - true, INTEL_MASTER_RESET_ITERATIONS); + sdw_cdns_check_self_clearing_bits(cdns, __func__, true, INTEL_MASTER_RESET_ITERATIONS); return 0; }