From patchwork Mon Nov 9 10:34:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-yi Chiang X-Patchwork-Id: 11890931 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=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 84739C2D0A3 for ; Mon, 9 Nov 2020 10:35:30 +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 84FBA2083B for ; Mon, 9 Nov 2020 10:35:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="U6KHaPxf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="DIeqnSAf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84FBA2083B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.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 052A41667; Mon, 9 Nov 2020 11:34:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 052A41667 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1604918126; bh=/WNGKIcLnd4Cvg+y4UGZHPTcU0DKE1YhLcEvMO9sCko=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=U6KHaPxfkUnaAGUqVdBEOGpYAn25trdgmmJ7xqovQk5GPp8OYlqBqy6NjXg0uPXGf ZklSVJ7Hv2mPr9PKpMocwbwReSZrXBAn73vzYI3+iIY33yUlDmg4362/LekDbdcsyF rTTKN1n7Sq5hl0RF+wa8H6ETs8QraX/JznpCwmSg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6C0A1F801F5; Mon, 9 Nov 2020 11:34:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 16E40F8020C; Mon, 9 Nov 2020 11:34:32 +0100 (CET) Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2FEF2F800BA for ; Mon, 9 Nov 2020 11:34:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2FEF2F800BA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="DIeqnSAf" Received: by mail-pg1-x543.google.com with SMTP id i13so1996101pgm.9 for ; Mon, 09 Nov 2020 02:34:27 -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=l9OACDmvKmRurprfJUQ9gm7mS661XwlkomrJ05FYhNU1qEOpjxWF6oq4rXvrbRkObm ySFZASJT5hiHqkF9YBfUmFqg/hE9MX7/C4xfezMzxbrgcmooqoQz3SSpx+8EGiVS9a0L n4ElwHPbtJZ02ed+5CtJM/S6C86f6ejY2K3bP28en9uogfi61SGr3vRtYB4LoYsuomPb zATUqijfDdTU3YaGde3NcVKAWvcDYA7VYh6Pdd4dMHdzkm+QZsAr5nnHQwVAfHO7jBrs ajijSD+wEVrEQXhh7QjtSu56Re2URLrYbGbJF0+Y+HBv8dPtPGDbfkQX3JJCsHa4MfS/ V6SA== X-Gm-Message-State: AOAM531mGIpEFbXmLkLlKEmTAkdZOJpgqnHTbTu0uD8RG9q3jTjmyp5b U5fBsew3cZD64KFBi/6CRMb/Ew== X-Google-Smtp-Source: ABdhPJyaNypAicS4XX7Fl08mgehF6nQZq7ki3Z9aXq2gKlrGrFfmnvTBvnq8T/JTZ4f0aahG8xTzeg== 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 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 Cc: Taniya Das , alsa-devel@alsa-project.org, Banajit Goswami , Heiko Stuebner , Liam Girdwood , Rohit kumar , Ajye Huang , Cheng-Yi Chiang , Patrick Lai , Andy Gross , dgreid@chromium.org, devicetree@vger.kernel.org, tzungbi@chromium.org, Srinivasa Rao , Stephan Gerhold , linux-arm-msm@vger.kernel.org, Rob Herring , Matthias Brugger , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, dianders@chromium.org, Takashi Iwai , xuyuqing@huaqin.corp-partner.google.com, Mark Brown , Srini Kandagatla , judyhsiao@chromium.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" 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);