Skip to content

Commit

Permalink
Merge branch 'topic/misc' into for-linus
Browse files Browse the repository at this point in the history
* topic/misc:
  ALSA: use card device as parent for jack input-devices
  • Loading branch information
tiwai committed Jun 12, 2009
2 parents 31d496a + 1f3fff7 commit be914cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/jack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit be914cf

Please sign in to comment.