diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-03-18 02:39:08 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-18 02:39:08 -0400 |
commit | d351cf4603edb2a5bfa9a48d06c425511c63f2a3 (patch) | |
tree | b03ea3cfd3ca3974237563cf87328386c3d49ff1 /sound/ppc | |
parent | 433e8327caf9f7c0432b2f2f6684a5b79cfe18e9 (diff) | |
parent | 4a122c10fbfe9020df469f0f669da129c5757671 (diff) |
Merge branch 'topic/misc' into for-linus
Diffstat (limited to 'sound/ppc')
-rw-r--r-- | sound/ppc/pmac.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index b47cfd45b3b..3ecbd67f88c 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -1034,7 +1034,11 @@ static int __devinit snd_pmac_detect(struct snd_pmac *chip) | |||
1034 | if (of_device_is_compatible(sound, "tumbler")) { | 1034 | if (of_device_is_compatible(sound, "tumbler")) { |
1035 | chip->model = PMAC_TUMBLER; | 1035 | chip->model = PMAC_TUMBLER; |
1036 | chip->can_capture = of_machine_is_compatible("PowerMac4,2") | 1036 | chip->can_capture = of_machine_is_compatible("PowerMac4,2") |
1037 | || of_machine_is_compatible("PowerBook4,1"); | 1037 | || of_machine_is_compatible("PowerBook3,2") |
1038 | || of_machine_is_compatible("PowerBook3,3") | ||
1039 | || of_machine_is_compatible("PowerBook4,1") | ||
1040 | || of_machine_is_compatible("PowerBook4,2") | ||
1041 | || of_machine_is_compatible("PowerBook4,3"); | ||
1038 | chip->can_duplex = 0; | 1042 | chip->can_duplex = 0; |
1039 | // chip->can_byte_swap = 0; /* FIXME: check this */ | 1043 | // chip->can_byte_swap = 0; /* FIXME: check this */ |
1040 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); | 1044 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); |