ac97_bus power management
PATCH 1/1 ac97_bus power management
Any reason why ac97_bus.c comes without CONFIG_PM? This patch adds CONFIG_PM to the ac97_bus driver.
ac97_bus.c renamed from alsa-driver-1.0.14rc2-original/alsa-kernel/ac97_bus.c +4 -0
@@ -26,6 +26,7 @@return 1 ; } +#ifdef CONFIG_PM static int ac97_bus_suspend (struct device *dev,pm_message_t state) {int ret =0 ;
@@ -45,12 +46,15 @@return ret; } +#endif /* CONFIG_PM */ struct bus_type ac97_bus_type = { .name ="ac97" , .match = ac97_bus_match, +#ifdef CONFIG_PM .suspend = ac97_bus_suspend, .resume = ac97_bus_resume, +#endif /* CONFIG_PM */ };static int __init ac97_bus_init (void )
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Fri, 2 Feb 2007 22:44:37 +0100,
Quoted 2 lines · Martin Langer
Any reason why
ac97_bus.ccomes withoutCONFIG_PM?
Because it works as is? But better to cut out such an unneeded code.
Quoted 3 lines
This patch adds
CONFIG_PMto theac97_busdriver.Signed-off-by Martin Langer <[email protected]>
Thanks. Applied to ALSA tree now.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642