Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3102256pxb; Mon, 9 Nov 2020 02:36:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxscmNj9nZJqMzhq7gNXd9CdBSf2HrEtzECSPCWLIsjeTmwcAUcq/7Gg7M0o2+FbbSFAmc X-Received: by 2002:a50:fe98:: with SMTP id d24mr14329993edt.223.1604918180508; Mon, 09 Nov 2020 02:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604918180; cv=none; d=google.com; s=arc-20160816; b=UZldZVSdXAWY/CAHqYL3Yy89peJ5vU1J2oZAbaboL/ouOcWTLtSP6dAGem74wugbj8 Q0s8u6w0CRGofRnyHirlusylc2kW1LH8n9pL2nOx8F4BClov396p3Au8csuQ1039TBbh 6mBdIxXtHsyM3CMVJ1Uh9bkya+VTfV5uWRkP1Ag0eiZEoYiemJKaKzaj3UedvB3+iGGm SuvHWgjl38ap4St/YkRcxupUfm5ipVyJWb6FsPZV7JiywItP5Wy1V7oIMNkjPg4xW9Ur v4bYS2wh6SP1vW/ugjOnSFv6pxdRkwNQ10wpSQeCgIKnhNBg530/ZDPNSzRutCQ2nr/A w9mg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=KTmupo/EpjgAy2pPuwp43MJbMbOqAR0YnTyRbouORaM=; b=cyLOqm/h4z00IjUdgnmXlDLWE5kRrLHahzH/qGR21p7c2UjNFAlxyXi2qYTVacnOpk SS98LhFUmT2bC/iVbE2fiw1JgLyTH+ridDrdyvzQsilI+uFUl4Ifcyj7Nrc1DxmFPqt0 oGwcujyofXdki7AkLcvwoAFqzq0bSQm7Hz8XbYbMd1SoMRR+Zt7dVVaiS0bKPCA1w4kt Sh3JJQ/AGUBKJwkTHo3Af9iChD6Mtp6XoPP7LjgmmIqprIMWoPYRBpYD+9xktc1Wv9hl FZlrRy/hqL1DmG5tdznmZ+oGLHhiPjLF/5J7aKmGecHuYFfSQzJSUTZI6t/zs1mvEeso cl2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DIeqnSAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 93si2201206edm.34.2020.11.09.02.35.57; Mon, 09 Nov 2020 02:36:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DIeqnSAf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729244AbgKIKe1 (ORCPT + 99 others); Mon, 9 Nov 2020 05:34:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727826AbgKIKe0 (ORCPT ); Mon, 9 Nov 2020 05:34:26 -0500 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A017AC0613CF for ; Mon, 9 Nov 2020 02:34:26 -0800 (PST) Received: by mail-pf1-x442.google.com with SMTP id y7so7710675pfq.11 for ; Mon, 09 Nov 2020 02:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KTmupo/EpjgAy2pPuwp43MJbMbOqAR0YnTyRbouORaM=; b=DIeqnSAfnkOX68rTluPtTr1Z/ka/uBkkJE++R5AZx3vtaCnXWhpOlbW7q6Pchny2LW nmpKKNAk0Kqmu2QugOYA5xZUpku0kpAb8JVxgrykC3wSOJZZZIzFlfQ8S9+YjQEVR8NY ogbIU0upC+fJ3ZgVbZYFAKoVWSRCFHev5GFUQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KTmupo/EpjgAy2pPuwp43MJbMbOqAR0YnTyRbouORaM=; b=VVJc+S1k1ZtQChSD2sdLFrOXU+mAzFD4Dr0r+V+xpHcF8VtysMqGkntK+7ym4rmw5i Szo77p3dQlqB8Tm8pHr8VhjSNOswzTOL4UDZYrWqZSt9K2WRgxIAruWGrD8lu1Ew+Mpf u6Hrx6Gwdqo7+rxh2ZvS+jnqgjQ640Uy0ojRXOAaUD+g5jct8yPG/u2CV62yWY4Rw66r anQb4m3UuYyrKEyS0s6cMFRWcw9wkHD9ckEC1zqgNvgUevK6MqtEnuH2YuILQ7dBA0KI P9QzzW9INM8a6bxMSyTWvFRfmOvOSMeyrgl1De/vPI92UEUIvbz8Rp60NQds9O72njb3 9kZQ== X-Gm-Message-State: AOAM530JOcQHpPH1WRcV5RHeBgvBy5EO+3zhiU3TKPYcT98eLLjShZbi sG80x0PymkpDsq+R/s7Cv9FskhwAI6WBznc5 X-Received: by 2002:a63:2a83:: with SMTP id q125mr12000933pgq.84.1604918065859; Mon, 09 Nov 2020 02:34:25 -0800 (PST) Received: from localhost ([2401:fa00:1:10:de4a:3eff:fe7d:d39c]) by smtp.gmail.com with ESMTPSA id w131sm10662101pfd.14.2020.11.09.02.34.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Nov 2020 02:34:24 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Cc: Mark Brown , Taniya Das , Rohit kumar , Banajit Goswami , Patrick Lai , Andy Gross , Bjorn Andersson , Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , Srini Kandagatla , Stephan Gerhold , Matthias Brugger , Heiko Stuebner , Srinivasa Rao , Ajye Huang , xuyuqing@huaqin.corp-partner.google.com, dianders@chromium.org, dgreid@chromium.org, tzungbi@chromium.org, judyhsiao@chromium.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Cheng-Yi Chiang Subject: [PATCH] ASoC: qcom: sc7180: Add missing PM ops Date: Mon, 9 Nov 2020 18:34:15 +0800 Message-Id: <20201109103415.607495-1-cychiang@chromium.org> X-Mailer: git-send-email 2.29.2.222.g5d2a92d10f8-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use PM ops snd_soc_pm_ops to handle suspend/resume like other machine drivers. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c index b391f64c3a80..42e366ecc689 100644 --- a/sound/soc/qcom/sc7180.c +++ b/sound/soc/qcom/sc7180.c @@ -258,6 +258,7 @@ static struct platform_driver sc7180_snd_driver = { .driver = { .name = "msm-snd-sc7180", .of_match_table = sc7180_snd_device_id, + .pm = &snd_soc_pm_ops, }, }; module_platform_driver(sc7180_snd_driver); -- 2.29.2.222.g5d2a92d10f8-goog