projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
709949f
)
ALSA: hda - Set parent of input beep devices
author
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Feb 2015 13:35:59 +0000
(14:35 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Feb 2015 14:37:10 +0000
(15:37 +0100)
Set the card device as the parent like other sound devices instead of
leaving it empty.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_beep.c
b/sound/pci/hda/hda_beep.c
index d6be4e852c4d5c11a5fb56cecb62508e026c7c5b..e98438e95e79dd16cdc02833f40cc8d5245d87dd 100644
(file)
--- 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;