git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
i2c
/
l3
/
uda1341.c
diff --git
a/sound/i2c/l3/uda1341.c
b/sound/i2c/l3/uda1341.c
index
4f2229d
..
e13122f
100644
(file)
--- a/
sound/i2c/l3/uda1341.c
+++ b/
sound/i2c/l3/uda1341.c
@@
-17,7
+17,7
@@
* 2002-05-12 Tomas Kasparek another code cleanup
*/
* 2002-05-12 Tomas Kasparek another code cleanup
*/
-/* $Id: uda1341.c,v 1.1
3 2004/07/20 15:54:13 cladisch
Exp $ */
+/* $Id: uda1341.c,v 1.1
5 2005/01/03 12:05:20 tiwai
Exp $ */
#include <sound/driver.h>
#include <linux/module.h>
#include <sound/driver.h>
#include <linux/module.h>
@@
-679,7
+679,7
@@
int __init snd_chip_uda1341_mixer_new(snd_card_t *card, struct l3_client **clnt)
return err;
}
return err;
}
- if ((err = snd_device_new(card, SNDRV_DEV_
LOWLEVEL
, uda1341, &ops)) < 0) {
+ if ((err = snd_device_new(card, SNDRV_DEV_
CODEC
, uda1341, &ops)) < 0) {
l3_detach_client(uda1341);
kfree(uda1341);
return err;
l3_detach_client(uda1341);
kfree(uda1341);
return err;
@@
-730,8
+730,7
@@
static int uda1341_attach(struct l3_client *clnt)
static void uda1341_detach(struct l3_client *clnt)
{
static void uda1341_detach(struct l3_client *clnt)
{
- if (clnt->driver_data)
- kfree(clnt->driver_data);
+ kfree(clnt->driver_data);
}
static int
}
static int