diff options
author | Stelian Pop <stelian@popies.net> | 2006-01-20 08:44:41 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-22 11:10:41 -0500 |
commit | 168a95f170070ddda1ba7505c2ce9ae8b50f21f6 (patch) | |
tree | 2df859914c2f946d7b2f8b6b0c79f129bfa89de0 /sound | |
parent | 20cd22620ad3a8a57a942fa1f301d47a1e15d67e (diff) |
[ALSA] sound/ppc/pmac.c typo
Modules: PPC PMAC driver
In 2.6.16-rc1 there is a small typo introduced by the
'Remove device_node addrs/n_addr' changes
which prevents my Powerbook G4 sound from working:
Advanced Linux Sound Architecture Driver Version 1.0.11rc2
(Wed Jan 04 08:57:20 2006 UTC).
snd: can't request rsrc 0 (Sound Control: 0x80000000:80004fff)
ALSA device list:
No soundcards found.
The patch below fixes it. Of course, the patch fixing the i2c issues
('i2c_smbus_write_i2c_block_data' patch) needs to be applied to in
order for the sound to completly work.
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/ppc/pmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index a642e4cfcf4..4988f873a7b 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -1216,7 +1216,7 @@ int __init snd_pmac_new(struct snd_card *card, struct snd_pmac **chip_return) | |||
1216 | goto __error; | 1216 | goto __error; |
1217 | } | 1217 | } |
1218 | for (i = 0; i < 3; i ++) { | 1218 | for (i = 0; i < 3; i ++) { |
1219 | if (of_address_to_resource(np->parent, i, | 1219 | if (of_address_to_resource(np, i, |
1220 | &chip->rsrc[i])) { | 1220 | &chip->rsrc[i])) { |
1221 | printk(KERN_ERR "snd: can't translate rsrc " | 1221 | printk(KERN_ERR "snd: can't translate rsrc " |
1222 | " %d (%s)\n", i, rnames[i]); | 1222 | " %d (%s)\n", i, rnames[i]); |