mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Merge branch 'topic/misc' into for-linus
* topic/misc: ALSA: use card device as parent for jack input-devices
This commit is contained in:
commit
be914cf910
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue