From patchwork Fri May 12 10:33:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 13239095 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 A5E8AC7EE24 for ; Fri, 12 May 2023 10:33:39 +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 BD8E31E0; Fri, 12 May 2023 12:32:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BD8E31E0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683887616; bh=3v3CBM5YbeKaWA3Iv8466FnrmmHHwDOtWuAWyZSRUA4=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=YAcpNcX6hOYuNn6tbo6HWbRUakidd1H6i3hSSdINtVBaD366bqEkpdPTOYJfGSAxG njCoLIkFRE4LaA7SJu3N/61q8bVOgLTQ9Yx4xAiI0tpd9bnRFolgjEtOEkBiYxBVKb WmUk6KFTDslKkIQY0JIarYQlfc/156uzsuEWti7o= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B868EF80552; Fri, 12 May 2023 12:32:40 +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 F308BF80534; Fri, 12 May 2023 12:32:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4F089F8053B; Fri, 12 May 2023 12:32:34 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 0C889F802E8 for ; Fri, 12 May 2023 12:32:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0C889F802E8 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=jcb5kL+W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683887548; x=1715423548; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3v3CBM5YbeKaWA3Iv8466FnrmmHHwDOtWuAWyZSRUA4=; b=jcb5kL+W+81C2dHPWxyKiZXAqTd8hnahH6jBsGkzSUWrDdN4or+JuPW1 bn7+Dx113ApOo0iFBHfK5oeZVdkdM//2DynDlDuBkQdg79ifkTdOjdu1k NpsFFJBQrN5zMX/ToU3wFo4+4t3W+T3S/jdaf3IVGeEgx8fTqTnDmAblA htu9qWCbsYhFdxiZWv3gc+mHjTdG0s3qneJLnvzFjL6sOTMCPPuIuVkzx z9XNAe5nUfMtkocppfjKTLWpETOGBxsQ7DexnGUNxjhTNerclYzvhcVSO 8whLZ72Xzfbo4b6B635dJMiiyhivEt+2jCCH5YBfZeVyq/dbZSVZaTnNS Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="416390470" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="416390470" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 03:32:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10707"; a="730774128" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="730774128" Received: from nhanph1x-mobl.amr.corp.intel.com (HELO pujfalus-desk.ger.corp.intel.com) ([10.249.38.84]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 03:32:22 -0700 From: Peter Ujfalusi To: lgirdwood@gmail.com, broonie@kernel.org Cc: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, ranjani.sridharan@linux.intel.com, kai.vehmanen@linux.intel.com, daniel.baluta@nxp.com Subject: [PATCH 0/3] ASoC: SOF: Various runtime pm fixes, improvements Date: Fri, 12 May 2023 13:33:12 +0300 Message-Id: <20230512103315.8921-1-peter.ujfalusi@linux.intel.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Message-ID-Hash: NJB3RDH5HD7OKF5MVJJGDVX6UV2UQLZ3 X-Message-ID-Hash: NJB3RDH5HD7OKF5MVJJGDVX6UV2UQLZ3 X-MailFrom: peter.ujfalusi@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: Three patch to correct error path PM runtime handling in few places. Regards, Peter --- Pierre-Louis Bossart (3): ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions ASoC: SOF: pcm: fix pm_runtime imbalance in error handling ASoC: SOF: sof-client-probes: fix pm_runtime imbalance in error handling sound/soc/sof/debug.c | 4 ++-- sound/soc/sof/pcm.c | 11 ++++++----- sound/soc/sof/sof-client-probes.c | 14 ++++++++------ 3 files changed, 16 insertions(+), 13 deletions(-)