From patchwork Wed Sep 30 11:41:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Vehmanen X-Patchwork-Id: 11808875 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6A2F13B2 for ; Wed, 30 Sep 2020 11:44:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B6A4A20709 for ; Wed, 30 Sep 2020 11:44:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="rkmo7rRs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6A4A20709 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AEB6B17CA; Wed, 30 Sep 2020 13:43:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AEB6B17CA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1601466258; bh=twqUpTxZci2uOQTKtVtjdM37BKM14hD5984TfzMBctQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=rkmo7rRs7SXNYiXj99BpqLsEedF40tu/4z2NDmvY9iTTKnrWD1K99+Qi44jxCepXM nBHMQ27OFB7PLGPT38tPvflhRdnQqZahbetA7Z6oMeCfAlu5xrQUuri/o/w9kZ96zy Mq60oc/1g/r4y3aRO0fZSEmqjzYL326E9E/Jdx7o= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 13EAEF801ED; Wed, 30 Sep 2020 13:43:35 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9A194F801F9; Wed, 30 Sep 2020 13:43:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=disabled version=3.4.0 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 2D4E9F800AB for ; Wed, 30 Sep 2020 13:43:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2D4E9F800AB IronPort-SDR: 4ACROZrZ3ZPNtYW2hcghhhENh0Fkc7z1dR1n8w46aYnaCJ2FmdqH9qumxmXG1sifIwVI03uoqF 7Wf2hTmb1/Wg== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="224022337" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="224022337" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 04:43:22 -0700 IronPort-SDR: n6UZrsaP8FnimsXMw/3ShBOL6JeIg5jbHmRggZeXuSQiyV7+16NxlGZ54INZqWMT9FeeU1zZCi RNkYF+uma8PQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="294582987" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by fmsmga008.fm.intel.com with ESMTP; 30 Sep 2020 04:43:18 -0700 From: Kai Vehmanen To: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org Subject: [PATCH v2 0/2] ALSA: HDA: Early Forbid of runtime PM Date: Wed, 30 Sep 2020 14:41:38 +0300 Message-Id: <20200930114140.3839617-1-kai.vehmanen@linux.intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Cc: cezary.rojewski@intel.com, kailang@realtek.com, kai.vehmanen@linux.intel.com, harshapriya.n@intel.com, pierre-louis.bossart@linux.intel.com, ranjani.sridharan@linux.intel.com, emmanuel.jillela@intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Fix a race with runtime PM enabled during codec initialization. For snd-hda-intel, no changes are needed in controller code, but to not break ASoC controller drivers, this V2 series adds an additional change in ASoC hdac_hda to allow runtime pm again at end of probe. Harsha Priya (1): ALSA: HDA: Early Forbid of runtime PM Kai Vehmanen (1): ASoC: hdac_hda: allow runtime pm at end of probe sound/pci/hda/hda_codec.c | 3 +++ sound/soc/codecs/hdac_hda.c | 3 +++ 2 files changed, 6 insertions(+)