projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93f5a1
)
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
author
Joachim Foerster
<JOFT@gmx.de>
Mon, 17 Mar 2008 07:40:12 +0000
(08:40 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 24 Apr 2008 10:00:25 +0000
(12:00 +0200)
We want to have snd_card_set_dev() in _probe(), but not a second one in
snd_ml403_ac97cr_create().
Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/ml403-ac97cr.c
patch
|
blob
|
history
diff --git
a/sound/drivers/ml403-ac97cr.c
b/sound/drivers/ml403-ac97cr.c
index 05a871aa7b818fd45eed66d40ef396a5075eccc7..b654007331de45e02ea5def967b4eda4270b2e3c 100644
(file)
--- a/
sound/drivers/ml403-ac97cr.c
+++ b/
sound/drivers/ml403-ac97cr.c
@@
-1191,8
+1191,6
@@
snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
return err;
}
- snd_card_set_dev(card, &pfdev->dev);
-
*rml403_ac97cr = ml403_ac97cr;
return 0;
}