diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-17 17:15:04 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-23 09:16:06 +0100 |
commit | 327ef4f02582d01f7eedb291794106823b44a0cf (patch) | |
tree | 9e0d3c18b30cc1d28ce8494efd8e9d3205675f3b /sound/pci/hda/hda_beep.c | |
parent | 72f770c6acde425eaad8f482969a785af4512f4f (diff) | |
download | op-kernel-dev-327ef4f02582d01f7eedb291794106823b44a0cf.zip op-kernel-dev-327ef4f02582d01f7eedb291794106823b44a0cf.tar.gz |
ALSA: hda - Decouple PCM and hwdep devices from codec object
This is a preliminary patch for the hda_bus implementation, removing
the parent device setup to codec device. Since the bus and the class
devices can't be crossed over, leave the sound devices to the default
parent device as is.
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, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_beep.c b/sound/pci/hda/hda_beep.c index 1e7de08..d6be4e8 100644 --- a/sound/pci/hda/hda_beep.c +++ b/sound/pci/hda/hda_beep.c @@ -168,7 +168,6 @@ static int snd_hda_do_attach(struct hda_beep *beep) input_dev->evbit[0] = BIT_MASK(EV_SND); input_dev->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); input_dev->event = snd_hda_beep_event; - input_dev->dev.parent = &codec->dev; input_set_drvdata(input_dev, beep); beep->dev = input_dev; |