]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Initialize ext-bus-specific fields in snd_hdac_bus_init(), too
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Apr 2019 14:00:54 +0000 (16:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 13 Apr 2019 08:10:26 +0000 (10:10 +0200)
commit4331612df1eb0434c38697273f8bcfb79e1cc412
tree4f1ae58995d9ef64c8dd2091485f206abeacc2df
parent3e24ba498601808799bb926e54b798ef6d04454e
ALSA: hda: Initialize ext-bus-specific fields in snd_hdac_bus_init(), too

Some fields in snd_hdac_bus are ext-bus specific, but they still
should be initialized in snd_hdac_bus_init() for consistency, at
least, for the ones that do need the explicit initialization like the
list head.

Also move the lock field to the more appropriate place and correct the
comment to reflect the recent change where it serves for both the
display power and the link management.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/ext/hdac_ext_bus.c
sound/hda/hdac_bus.c