Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3122885rwb; Mon, 15 Aug 2022 18:41:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR6NJ1idLJhj2PCQWBILITC33PC/6HA5XTxV3pMjIBjciOQy/eQMom9Na6sQY9fV5BNii+Lj X-Received: by 2002:a17:906:c150:b0:733:76b:c7a5 with SMTP id dp16-20020a170906c15000b00733076bc7a5mr11595979ejc.567.1660614083570; Mon, 15 Aug 2022 18:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660614083; cv=none; d=google.com; s=arc-20160816; b=KCcZerLr8jKY+nPaPbgZ1CVFMdnFDScXzwKvSr+xJ7Y5mnQta2qv1looS1QTczqDZW ydZl1L0+c7ZsaZHzQkReRFW1MxamQSz8EjZyfDWXbFPrxhEptwLWuN0Cf+8QBkpspAru w5S58a/SoL+Erpo3Y0qbfTgWzGGm9mLiCYSahcJmLNauKNwV8l0XxLKuCd1KNIjJBGC4 ZxqnarI/iLVTUvfSX05vO94Ag9FzbCgnryZXCTYe9xkQpbwcPX9BqpRdjODZAv5u4CQL k9Ap3CyhRVCi9ecnj8ftwfWbW3Zg2u6p8PSIdkEfgxp/lSPR/c5U3I7KvK1LIe+wAvDP xXAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=B61JS3aofuOU5GxlKWIXgaG3VrOQTBEbSWfHr5ldi6Y=; b=d54cOO4CZrYd/tLT4gGNfAQcb84gOsBu4k4VpURwJQ4w64NKNVhZ0TuAhMvvCl/ftD R4E27xFWdAqmpofE4TbzOTwrn1FHN2+jgjLP2M/uYfiJv0ThG9B6rIoPh9DWmVlWaBiO HpTocnM2C2LSh41CLFVOJGMjp6DxCPEvFlpOy7XQjXInRd2qdXyK5gdSRNgKwih9uD25 C2+VcIH+DlDiYHu+Tg8N+p/4zT1Sn4qmFJAPM/3vqPoSXfJew7mSXrxuntxYMaXUJuoj 9knl3AyoGjagy9OXYYkJrn/2+/eLXw6vrUuaDwdc2sNLwHajlQIaO9gQfuWKYMRaL5LM Tb/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EpgeFDMj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020aa7d1c6000000b0043d35059c65si8561584edp.160.2022.08.15.18.40.58; Mon, 15 Aug 2022 18:41:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EpgeFDMj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232306AbiHPAog (ORCPT + 99 others); Mon, 15 Aug 2022 20:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350398AbiHPAlr (ORCPT ); Mon, 15 Aug 2022 20:41:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AB541907C0; Mon, 15 Aug 2022 13:39:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AFB8CB8113E; Mon, 15 Aug 2022 20:39:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2AEDC433C1; Mon, 15 Aug 2022 20:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595983; bh=Ay0XAbYlO976TQxwn64944NrmDGhtHDV+JN61Q9XLYI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EpgeFDMjgWMqZnc657umcn3V1VxQ6zAk58jlANqYtMFr6hbV9L7fuTBEvnH58sffs VujEG0wZy8Q/spO81WoNxijPoEA3AA7jAM5V67xX+kMkt7s0kqSF2xOiNRVAKoqQtS 1TeKJXHqMCOBr6hPsdV71vCklnd8Qew+dbrI/wHM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peter Ujfalusi , Ranjani Sridharan , Bard Liao , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 5.19 0903/1157] ASoC: SOF: make ctx_store and ctx_restore as optional Date: Mon, 15 Aug 2022 20:04:19 +0200 Message-Id: <20220815180515.594813939@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Ujfalusi [ Upstream commit 03f69725749f453b9a4d454a92805f8eb5f095c2 ] Commit 657774acd00f ("ASoC: SOF: Make sof_suspend/resume IPC agnostic") did not marked ctx_store and ctx_restore as Optional. Fixes: 657774acd00f ("ASoC: SOF: Make sof_suspend/resume IPC agnostic") Signed-off-by: Peter Ujfalusi Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Reviewed-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220610083549.16773-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/sof-priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index f0f3d72c0da7..f11f575fd1da 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -378,8 +378,8 @@ struct sof_ipc_fw_tracing_ops { /** * struct sof_ipc_pm_ops - IPC-specific PM ops - * @ctx_save: Function pointer for context save - * @ctx_restore: Function pointer for context restore + * @ctx_save: Optional function pointer for context save + * @ctx_restore: Optional function pointer for context restore */ struct sof_ipc_pm_ops { int (*ctx_save)(struct snd_sof_dev *sdev); -- 2.35.1