[alsa-devel] snd-pcsp doesn't accept the index parameter
It is impossible to put pcsp at a stable index without the trivial patch below.
Signed-Off-By: Alexander E. Patrakov patrakov@ums.usu.ru
--- pcsp.c +++ pcsp.c @@ -27,6 +27,8 @@ static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */
+module_param(index, int, 0444); +MODULE_PARM_DESC(index, "Index value for pcsp soundcard."); module_param(id, charp, 0444); MODULE_PARM_DESC(id, "ID string for pcsp soundcard."); module_param(enable, bool, 0444);
At Sat, 20 Oct 2007 17:07:10 +0600, Alexander E. Patrakov wrote:
It is impossible to put pcsp at a stable index without the trivial patch below.
Signed-Off-By: Alexander E. Patrakov patrakov@ums.usu.ru
Applied to HG tree. Thanks.
Takashi
--- pcsp.c +++ pcsp.c @@ -27,6 +27,8 @@ static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */ static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */
+module_param(index, int, 0444); +MODULE_PARM_DESC(index, "Index value for pcsp soundcard."); module_param(id, charp, 0444); MODULE_PARM_DESC(id, "ID string for pcsp soundcard."); module_param(enable, bool, 0444);
-- Alexander E. Patrakov
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
Alexander E. Patrakov
-
Takashi Iwai