aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/pmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r--sound/ppc/pmac.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 85081172403f..3ecbd67f88c9 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);
@@ -1228,10 +1232,8 @@ int __devinit snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return)
1228 chip->rsrc[i].start + 1, 1232 chip->rsrc[i].start + 1,
1229 rnames[i]) == NULL) { 1233 rnames[i]) == NULL) {
1230 printk(KERN_ERR "snd: can't request rsrc " 1234 printk(KERN_ERR "snd: can't request rsrc "
1231 " %d (%s: 0x%016llx:%016llx)\n", 1235 " %d (%s: %pR)\n",
1232 i, rnames[i], 1236 i, rnames[i], &chip->rsrc[i]);
1233 (unsigned long long)chip->rsrc[i].start,
1234 (unsigned long long)chip->rsrc[i].end);
1235 err = -ENODEV; 1237 err = -ENODEV;
1236 goto __error; 1238 goto __error;
1237 } 1239 }
@@ -1256,10 +1258,8 @@ int __devinit snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return)
1256 chip->rsrc[i].start + 1, 1258 chip->rsrc[i].start + 1,
1257 rnames[i]) == NULL) { 1259 rnames[i]) == NULL) {
1258 printk(KERN_ERR "snd: can't request rsrc " 1260 printk(KERN_ERR "snd: can't request rsrc "
1259 " %d (%s: 0x%016llx:%016llx)\n", 1261 " %d (%s: %pR)\n",
1260 i, rnames[i], 1262 i, rnames[i], &chip->rsrc[i]);
1261 (unsigned long long)chip->rsrc[i].start,
1262 (unsigned long long)chip->rsrc[i].end);
1263 err = -ENODEV; 1263 err = -ENODEV;
1264 goto __error; 1264 goto __error;
1265 } 1265 }