daca.c (f72222c74bd642182cc892c99df65cb105c61193) | daca.c (15afafc2565bc785eb7a440b8b4a53f77910cf04) |
---|---|
1/* 2 * PMac DACA lowlevel functions 3 * 4 * Copyright (c) by Takashi Iwai <tiwai@suse.de> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 230 unchanged lines hidden (view full) --- 239 if (! mix) 240 return; 241 snd_pmac_keywest_cleanup(&mix->i2c); 242 kfree(mix); 243 chip->mixer_data = NULL; 244} 245 246/* exported */ | 1/* 2 * PMac DACA lowlevel functions 3 * 4 * Copyright (c) by Takashi Iwai <tiwai@suse.de> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 230 unchanged lines hidden (view full) --- 239 if (! mix) 240 return; 241 snd_pmac_keywest_cleanup(&mix->i2c); 242 kfree(mix); 243 chip->mixer_data = NULL; 244} 245 246/* exported */ |
247int __devinit snd_pmac_daca_init(struct snd_pmac *chip) | 247int snd_pmac_daca_init(struct snd_pmac *chip) |
248{ 249 int i, err; 250 struct pmac_daca *mix; 251 252 request_module("i2c-powermac"); 253 254 mix = kzalloc(sizeof(*mix), GFP_KERNEL); 255 if (! mix) --- 27 unchanged lines hidden --- | 248{ 249 int i, err; 250 struct pmac_daca *mix; 251 252 request_module("i2c-powermac"); 253 254 mix = kzalloc(sizeof(*mix), GFP_KERNEL); 255 if (! mix) --- 27 unchanged lines hidden --- |