Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498Ab2KLJvP (ORCPT ); Mon, 12 Nov 2012 04:51:15 -0500 Received: from cantor2.suse.de ([195.135.220.15]:53406 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750736Ab2KLJvO (ORCPT ); Mon, 12 Nov 2012 04:51:14 -0500 Date: Mon, 12 Nov 2012 10:51:13 +0100 Message-ID: From: Takashi Iwai To: Ondrej Zary Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards In-Reply-To: <201211112210.13837.linux@rainbow-software.org> References: <201211112210.13837.linux@rainbow-software.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1427 Lines: 44 At Sun, 11 Nov 2012 22:10:13 +0100, Ondrej Zary wrote: > > Assume that unknown ICE1724-based cards are AC97-only that can suspend > without any additional card-specific code. > > This fixes suspend on Gainward Hollywood@Home 7.1. > > Signed-off-by: Ondrej Zary Thanks, applied. Takashi > --- > sound/pci/ice1712/ice1724.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c > index 5cc3fa5..aebd584 100644 > --- a/sound/pci/ice1712/ice1724.c > +++ b/sound/pci/ice1712/ice1724.c > @@ -2363,6 +2363,8 @@ static int __devinit snd_vt1724_read_eeprom(struct snd_ice1712 *ice, > } > printk(KERN_WARNING "ice1724: No matching model found for ID 0x%x\n", > ice->eeprom.subvendor); > + /* assume AC97-only card which can suspend without additional code */ > + ice->pm_suspend_enabled = 1; > > found: > ice->eeprom.size = snd_vt1724_read_i2c(ice, dev, 0x04); > -- > Ondrej Zary > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/