linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards
@ 2012-11-11 21:10 Ondrej Zary
  2012-11-12  9:51 ` [alsa-devel] " Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2012-11-11 21:10 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-kernel

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 <linux@rainbow-software.org>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards
  2012-11-11 21:10 [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards Ondrej Zary
@ 2012-11-12  9:51 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2012-11-12  9:51 UTC (permalink / raw)
  To: Ondrej Zary; +Cc: alsa-devel, linux-kernel

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 <linux@rainbow-software.org>

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-12  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-11 21:10 [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards Ondrej Zary
2012-11-12  9:51 ` [alsa-devel] " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).