git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
31d496a
)
Merge branch 'topic/misc' into for-linus
author
Takashi Iwai
<tiwai@suse.de>
Fri, 12 Jun 2009 18:03:13 +0000
(20:03 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 12 Jun 2009 18:03:13 +0000
(20:03 +0200)
* topic/misc:
ALSA: use card device as parent for jack input-devices
sound/core/jack.c
patch
|
blob
|
history
diff --git
a/sound/core/jack.c
b/sound/core/jack.c
index
d54d1a0
..
f705eec
100644
(file)
--- a/
sound/core/jack.c
+++ b/
sound/core/jack.c
@@
-63,7
+63,7
@@
static int snd_jack_dev_register(struct snd_device *device)
/* Default to the sound card device. */
if (!jack->input_dev->dev.parent)
- jack->input_dev->dev.parent =
card->dev
;
+ jack->input_dev->dev.parent =
snd_card_get_device_link(card)
;
err = input_register_device(jack->input_dev);
if (err == 0)