[alsa-devel] [PATCH] snd-sbxfi: use SBXXXX model numbers instead of user-unfriendly names like UAA and ORIG.
This is just something that bothers me. There's no reason to accept or reject it, other than that it might be more informative about what hardware revision we are dealing with.
Signed-off-by: William Pitcock nenolod@sacredspiral.co.uk
--- sound/pci/sbxfi/sbxfi.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/pci/sbxfi/sbxfi.c b/sound/pci/sbxfi/sbxfi.c index 30ad25b..c006278 100644 --- a/sound/pci/sbxfi/sbxfi.c +++ b/sound/pci/sbxfi/sbxfi.c @@ -1702,10 +1702,10 @@ static int __devinit sbxfi_create_mixer(struct sbxfi *chip) */
static char *typenames[SBXFI_HW_TYPES] = { - [SBXFI_HW_ORIG] = "ORIG", - [SBXFI_HW_055x] = "055x", - [SBXFI_HW_073x] = "073x", - [SBXFI_HW_UAA] = "UAA" + [SBXFI_HW_ORIG] = "SB0760", + [SBXFI_HW_055x] = "SB0550", + [SBXFI_HW_073x] = "SB0730", + [SBXFI_HW_UAA] = "SB0886" };
#ifdef CONFIG_PROC_FS
At Sat, 18 Oct 2008 19:58:23 -0500, William Pitcock wrote:
This is just something that bothers me. There's no reason to accept or reject it, other than that it might be more informative about what hardware revision we are dealing with.
Signed-off-by: William Pitcock nenolod@sacredspiral.co.uk
Applied. This looks better indeed.
Takashi
sound/pci/sbxfi/sbxfi.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/pci/sbxfi/sbxfi.c b/sound/pci/sbxfi/sbxfi.c index 30ad25b..c006278 100644 --- a/sound/pci/sbxfi/sbxfi.c +++ b/sound/pci/sbxfi/sbxfi.c @@ -1702,10 +1702,10 @@ static int __devinit sbxfi_create_mixer(struct sbxfi *chip) */
static char *typenames[SBXFI_HW_TYPES] = {
- [SBXFI_HW_ORIG] = "ORIG",
- [SBXFI_HW_055x] = "055x",
- [SBXFI_HW_073x] = "073x",
- [SBXFI_HW_UAA] = "UAA"
- [SBXFI_HW_ORIG] = "SB0760",
- [SBXFI_HW_055x] = "SB0550",
- [SBXFI_HW_073x] = "SB0730",
- [SBXFI_HW_UAA] = "SB0886"
};
#ifdef CONFIG_PROC_FS
1.5.5.4
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (2)
-
Takashi Iwai
-
William Pitcock