From patchwork Wed May 14 03:19:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 4172351 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 766F9BFF02 for ; Wed, 14 May 2014 03:21:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C0E0A2025A for ; Wed, 14 May 2014 03:21:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id AD73320251 for ; Wed, 14 May 2014 03:21:27 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 54EBF2652F4; Wed, 14 May 2014 05:21:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 46A3226525B; Wed, 14 May 2014 05:21:14 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6C35F26525F; Wed, 14 May 2014 05:21:12 +0200 (CEST) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by alsa0.perex.cz (Postfix) with ESMTP id 20F5326523B for ; Wed, 14 May 2014 05:21:03 +0200 (CEST) Received: by mail-pa0-f45.google.com with SMTP id ey11so1085208pad.4 for ; Tue, 13 May 2014 20:21:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RfUIFPknWV7DMniB1HwG9UxBfHvykyum17MQ8ofdZ4k=; b=cwDpKwgtScvdwwK6n7X/cHl94SL1p3gvf22d/ujH68rPpNs0q+viex6U2fvsFcu66f hTmhSLLhH0S/LYWoplqTdCgfK/pEH0WkddQEYwi5BcLUYk376rkI9qelniybzU5Hw0Ua 16YYTNnE6CWCUfF65MHbhtmZdtBHUBePeS47LbjwaIyYC6Lc+0+ouxREsunchrOZdRBD 1nPWUGE4qNUbMNhs4ytE4HO2f8a/hISMmZubjW6bZWQC30atMUrc52c2jftwbUUW65/P KoBzsHTny39hfFLjlO6qqvtCO5c0alnWwHDuOa0mE5T1jAKEH/zEUJzPBRXveaR9pSax Jc4Q== X-Gm-Message-State: ALoCoQmenP+p+052Zokj7DD7En33F7cXDsiJuolHzyqgPhRPe5tLnbmEqm3RGb+iy9dEYHcOL3yz X-Received: by 10.68.194.202 with SMTP id hy10mr1139359pbc.94.1400037662588; Tue, 13 May 2014 20:21:02 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id bz4sm690999pbb.12.2014.05.13.20.20.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 20:20:56 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org Date: Wed, 14 May 2014 08:49:06 +0530 Message-Id: <1400037546-20395-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 Cc: broonie@kernel.org Subject: [alsa-devel] [PATCH] ASoC: samsung: Add missing pm ops for Snow sound card driver X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Adding missing pm ops so that audio playback works across suspend and resume cycle. Signed-off-by: Tushar Behera --- sound/soc/samsung/snow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0fa89a4..014c177 100644 --- a/sound/soc/samsung/snow.c +++ b/sound/soc/samsung/snow.c @@ -111,6 +111,7 @@ static struct platform_driver snow_driver = { .driver = { .name = "snow-audio", .owner = THIS_MODULE, + .pm = &snd_soc_pm_ops, .of_match_table = snow_of_match, }, .probe = snow_probe,