mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] powerpc: fix oops in alsa powermac driver
This fixes an oops in 2.6.16.X when loading the snd_powermac module. The name of the requested module changed during the 2.6.16 development cycle from i2c-keylargo to i2c-powermac. Signed-off-by: Guido Guenther <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
5ad1bfeaf7
commit
4d6c58899c
4 changed files with 6 additions and 6 deletions
|
|
@ -255,7 +255,7 @@ int __init snd_pmac_daca_init(struct snd_pmac *chip)
|
|||
|
||||
#ifdef CONFIG_KMOD
|
||||
if (current->fs->root)
|
||||
request_module("i2c-keywest");
|
||||
request_module("i2c-powermac");
|
||||
#endif /* CONFIG_KMOD */
|
||||
|
||||
mix = kmalloc(sizeof(*mix), GFP_KERNEL);
|
||||
|
|
|
|||
|
|
@ -1313,7 +1313,7 @@ int __init snd_pmac_tumbler_init(struct snd_pmac *chip)
|
|||
|
||||
#ifdef CONFIG_KMOD
|
||||
if (current->fs->root)
|
||||
request_module("i2c-keywest");
|
||||
request_module("i2c-powermac");
|
||||
#endif /* CONFIG_KMOD */
|
||||
|
||||
mix = kmalloc(sizeof(*mix), GFP_KERNEL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue