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: 30142 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 16A0C20369 for ; Wed, 14 May 2014 03:21:07 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id rp18sf6184708iec.1 for ; Tue, 13 May 2014 20:21:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=J8TBfH4rIWUh11MmCG/Q+8eYiLj3v32RnXs2jbiHuMQ=; b=AqhI3ZU1kGkg0nE02V+XaJuL/7t7Ug6eOb44dcqV4D4Z/yd4dv9khdjeb/X/FkqvjU F9FNVZDu1NRhadHOQjuNmDVA65yxdJn2Vi78A7+kT+suZsOMi/FVIZFZ97cwA2uw24iA ho6rFvevAtLbeODtX2nduQetYj03JPgTQHV4lJLwkdvTs1TktHjJQ+F9EVC4vSkce2+E 5oEzNTDPz8qropa9lzDXx37BLfzRrBLUhOzlr4slpVVeldWTF63xyf05vNlxPHVeATvN 9lwBKmnupUVQJcc65oJooSSW5WFLPbLuUXD0UjImw2HT3Dm/bdjhJ3bcap9Oi7qrXzmw xa2g== X-Gm-Message-State: ALoCoQmrRFqL/LQy2pnxbxdANMtMlqJIJR0YSRYqR+0N+7OSI9Gbsx6GzUCYh30fVyGBYaXq0fKf X-Received: by 10.43.79.196 with SMTP id zr4mr430348icb.3.1400037666649; Tue, 13 May 2014 20:21:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.8 with SMTP id y8ls2243759qgy.11.gmail; Tue, 13 May 2014 20:21:06 -0700 (PDT) X-Received: by 10.58.198.107 with SMTP id jb11mr798973vec.10.1400037666540; Tue, 13 May 2014 20:21:06 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id iq2si86694veb.181.2014.05.13.20.21.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 20:21:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lg15so1647697vcb.7 for ; Tue, 13 May 2014 20:21:06 -0700 (PDT) X-Received: by 10.58.154.10 with SMTP id vk10mr781178veb.18.1400037666450; Tue, 13 May 2014 20:21:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp198755vcb; Tue, 13 May 2014 20:21:06 -0700 (PDT) X-Received: by 10.66.231.105 with SMTP id tf9mr1154869pac.84.1400037665755; Tue, 13 May 2014 20:21:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wk8si516999pab.59.2014.05.13.20.21.05; Tue, 13 May 2014 20:21:05 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752872AbaENDVE (ORCPT + 9 others); Tue, 13 May 2014 23:21:04 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:52180 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752507AbaENDVD (ORCPT ); Tue, 13 May 2014 23:21:03 -0400 Received: by mail-pa0-f47.google.com with SMTP id lf10so1086468pab.20 for ; Tue, 13 May 2014 20:21:02 -0700 (PDT) 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 Cc: broonie@kernel.org Subject: [PATCH] ASoC: samsung: Add missing pm ops for Snow sound card driver 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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,