git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: use card device as parent for jack input-devices
[pandora-kernel.git]
/
sound
/
core
/
jack.c
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)