From patchwork Thu Dec 3 14:31:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Henningsson X-Patchwork-Id: 7760621 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8929CBEEE1 for ; Thu, 3 Dec 2015 14:31:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BC9CF20549 for ; Thu, 3 Dec 2015 14:31:44 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7FCA020511 for ; Thu, 3 Dec 2015 14:31:43 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id AEE1A260435; Thu, 3 Dec 2015 15:31:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4BFAE260421; Thu, 3 Dec 2015 15:31:34 +0100 (CET) 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 807E2260423; Thu, 3 Dec 2015 15:31:32 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id 7F867260418 for ; Thu, 3 Dec 2015 15:31:25 +0100 (CET) Received: from c83-251-169-171.bredband.comhem.se ([83.251.169.171] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1a4Uuq-0007jL-Bi; Thu, 03 Dec 2015 14:31:24 +0000 From: David Henningsson To: tiwai@suse.de Date: Thu, 3 Dec 2015 15:31:23 +0100 Message-Id: <1449153083-5134-1-git-send-email-david.henningsson@canonical.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, David Henningsson Subject: [alsa-devel] [PATCH] hda-emu: Add snd_power_get_state 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 Signed-off-by: David Henningsson --- include/sound/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sound/core.h b/include/sound/core.h index e556765..1196319 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -113,6 +113,8 @@ int snd_card_register(struct snd_card *card) return 0; } +#define snd_power_get_state(card) ({ (void)(card); SNDRV_CTL_POWER_D0; }) + #include #include #include