diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-10 11:43:41 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-10 11:50:01 +0100 |
commit | ef8e39b51f24c8ac907e1f1995910ee3083375e0 (patch) | |
tree | d23be3da2ffe43474b89d545150b30d45dfcdb16 /CREDITS | |
parent | f88abaa0d0dc0d1f1a9ae21f8e822918e5aadfdf (diff) |
ALSA: hda - Fix undefined symbol due to builtin/module mixup
Even after the fix for leftover kconfig handling (commit f8f1becf),
the current code still doesn't handle properly the builtin/module
mixup case between the core snd-hda-codec and other codec drivers.
For example, when CONFIG_SND_HDA_INTEL=y and
CONFIG_SND_HDA_CODEC_HDMI=m, it'll end up with an unresolved symbol
snd_hda_parse_hdmi_codec. This patch fixes the issue.
Now codec->parser points to the parser object *only* when a module
(either generic or HDMI parser) is loaded and bound. When a builtin
symbol is used, codec->parser still points to NULL. This is the
difference from the previous versions.
Fixes: f8f1becfa4ac ('ALSA: hda - Fix leftover ifdef checks after modularization')
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions