diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-26 14:35:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-26 15:37:10 +0100 |
commit | 777ae1946813f1dea24d908c8f318754f090f41f (patch) | |
tree | 667307e20726a8a4e0384a039f39ca67b68c3181 /sound/pci/hda/hda_beep.c | |
parent | 709949fbe9632941585dcacabc8a66010030ed10 (diff) | |
download | op-kernel-dev-777ae1946813f1dea24d908c8f318754f090f41f.zip op-kernel-dev-777ae1946813f1dea24d908c8f318754f090f41f.tar.gz |
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_beep.c')
-rw-r--r-- | sound/pci/hda/hda_beep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_beep.c b/sound/pci/hda/hda_beep.c index d6be4e8..e98438e 100644 --- a/sound/pci/hda/hda_beep.c +++ b/sound/pci/hda/hda_beep.c @@ -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; |