Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E67D1C433DB for ; Wed, 20 Jan 2021 01:30:37 +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 3648D206F9 for ; Wed, 20 Jan 2021 01:30:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3648D206F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 B33A41905; Wed, 20 Jan 2021 02:29:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B33A41905 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611106235; bh=En105Zd0+0J6+AvJH7BM2K78zAEVYYzM+RNhDWP4fts=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=a9h0Md4r1+dHxjx8BJj65tw777EM3mmOCSzBOb3zQHJAjK0zeQ11WhiStNRS5WKY4 Dal1nIZO885L2cQelbRi5+6BPdFcX6iG9X8TJraKiFE1qGZPOCiNKqcj/n6i/ntvo0 CqAObC1cRyqoYiHACc2KwBhApxJ9zDdBx10wabcA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DB0C0F804DF; Wed, 20 Jan 2021 02:28:34 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4F949F804DF; Wed, 20 Jan 2021 02:28:33 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D1FBDF802BE for ; Wed, 20 Jan 2021 02:28:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D1FBDF802BE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F6pOd8qU" Received: by mail.kernel.org (Postfix) with ESMTPSA id 5FECD2333D; Wed, 20 Jan 2021 01:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611106105; bh=En105Zd0+0J6+AvJH7BM2K78zAEVYYzM+RNhDWP4fts=; h=From:To:Cc:Subject:Date:From; b=F6pOd8qUapWwNvz1+4n/x8sJuf2fCgiXLXQ86OcG/HTDGTtaAVVvcJDm+UkwxPNKC vrUyCnec46r+t4U9hfuQTrlheyU9TYNGBVMpcjNZCYIIWwT5NHLNKmgQKJvOBnyEFH no9Vd0mhibplT6Dw9Bhnp4t7Y0UldIDREIUu0S5kT7js0h4EENqZbELUQZwnov1pyY nw9dwLPs/POYZz6YIOfMqEi7u/Y5aV4BkzwLmm52OxJvTLw0IynZVaJS7wiOP7d9Sf MtkIbeZMmiTF4RLfAU1lv2GNoPGRYm/HhA80piLbmCxAVfG4RcVSL1fL8XTSts+Faj x6XVQ+cURZfDA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.4 1/4] ASoC: Intel: haswell: Add missing pm_ops Date: Tue, 19 Jan 2021 20:28:20 -0500 Message-Id: <20210120012823.770731-1-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , Cezary Rojewski , Mark Brown , alsa-devel@alsa-project.org 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" From: Cezary Rojewski [ Upstream commit bb224c3e3e41d940612d4cc9573289cdbd5cb8f5 ] haswell machine board is missing pm_ops what prevents it from undergoing suspend-resume procedure successfully. Assign default snd_soc_pm_ops so this is no longer the case. Signed-off-by: Cezary Rojewski Link: https://lore.kernel.org/r/20201217105401.27865-1-cezary.rojewski@intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/haswell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/intel/boards/haswell.c b/sound/soc/intel/boards/haswell.c index de955c2e8c4e3..a0e67d5f59683 100644 --- a/sound/soc/intel/boards/haswell.c +++ b/sound/soc/intel/boards/haswell.c @@ -197,6 +197,7 @@ static struct platform_driver haswell_audio = { .probe = haswell_audio_probe, .driver = { .name = "haswell-audio", + .pm = &snd_soc_pm_ops, }, }; -- 2.27.0