* cmipci patch
@ 2007-01-19 10:22 Felix Hammer
2007-01-19 13:33 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Felix Hammer @ 2007-01-19 10:22 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
hi
according to this bug -->
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2491
i attached the diff for commit.
regards
felix
_______________________________________
http://www.lehrsaiten.de
http://sourceforge.net/projects/pokerth
[-- Attachment #2: cmipci.diff --]
[-- Type: text/x-diff, Size: 448 bytes --]
--- alsa-driver-hg20070119/alsa-kernel/pci/cmipci.c 2006-12-21 02:00:15.000000000 +0100
+++ cmipci.c 2007-01-19 10:46:37.000000000 +0100
@@ -2779,6 +2779,13 @@
struct snd_opl3 *opl3;
int err;
+
+ if ( fm_port == 0 ) {
+ snd_cmipci_clear_bit(cm, CM_REG_MISC_CTRL, CM_FM_EN);
+ return 0;
+ }
+
+
/* first try FM regs in PCI port range */
iosynth = cm->iobase + CM_REG_FM_PCI;
err = snd_opl3_create(cm->card, iosynth, iosynth + 2,
[-- Attachment #3: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cmipci patch
2007-01-19 10:22 cmipci patch Felix Hammer
@ 2007-01-19 13:33 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2007-01-19 13:33 UTC (permalink / raw)
To: f.hammer; +Cc: alsa-devel
At Fri, 19 Jan 2007 11:22:05 +0100,
Felix Hammer wrote:
>
> hi
>
> according to this bug -->
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2491
> i attached the diff for commit.
The patch looks OK, but please follow the standard coding style of the
linux kernel, namely, remove spaces around parentheses.
Also, give a proper changelog and a sign-off to merge.
(See the main page of ALSA BTS.)
thanks,
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-19 13:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 10:22 cmipci patch Felix Hammer
2007-01-19 13:33 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.