summaryrefslogtreecommitdiffstats
path: root/sound/drivers/ml403-ac97cr.c
diff options
context:
space:
mode:
authorJoachim Foerster <JOFT@gmx.de>2008-03-17 08:40:12 +0100
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:25 +0200
commit5949d2443d96f054d9a32d31edddb0be836968c6 (patch)
tree2d331956505665cdc8e5ddd2de405da8d527b270 /sound/drivers/ml403-ac97cr.c
parent[ALSA] ice1724 - Fix the SPDIF input sample-rate on Juli@ (diff)
downloadlinux-5949d2443d96f054d9a32d31edddb0be836968c6.tar.xz
linux-5949d2443d96f054d9a32d31edddb0be836968c6.zip
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
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>
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
-rw-r--r--sound/drivers/ml403-ac97cr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c
index 05a871aa7b81..b654007331de 100644
--- 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;
}