Commit 777ae194 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Set parent of input beep devices

Set the card device as the parent like other sound devices instead of
leaving it empty.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 709949fb
......@@ -160,6 +160,7 @@ static int snd_hda_do_attach(struct hda_beep *beep)
input_dev->name = "HDA Digital PCBeep";
input_dev->phys = beep->phys;
input_dev->id.bustype = BUS_PCI;
input_dev->dev.parent = &codec->bus->card->card_dev;
input_dev->id.vendor = codec->vendor_id >> 16;
input_dev->id.product = codec->vendor_id & 0xffff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment