[alsa-devel] [PATCH v7 6/9] ASoC: Intel: bxt-da7219-max98357a: common hdmi codec support

Takashi Iwai tiwai at suse.de
Mon Oct 28 17:58:15 CET 2019


On Wed, 23 Oct 2019 11:03:28 +0200,
Kai Vehmanen wrote:
> 
> @@ -4,7 +4,7 @@ snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o
>  snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o
>  snd-soc-sst-bdw-rt5677-mach-objs := bdw-rt5677.o
>  snd-soc-sst-broadwell-objs := broadwell.o
> -snd-soc-sst-bxt-da7219_max98357a-objs := bxt_da7219_max98357a.o
> +snd-soc-sst-bxt-da7219_max98357a-objs := bxt_da7219_max98357a.o hda_dsp_common.o

Hrm, this can be a problem.  I see there are multiple drivers that are
built with this object.  When they are built as modules and more than
one module get loaded on a system, it'll lead to a conflict because
both modules try to put the same stuff.

So, hda_dsp_common.o should be in the common helper module that is
used by both drivers, or we need other trick.

But I'm not entirely sure whether this is true on the recent kernel
build.  At least it *was* a problem in the past.

In anyway, please try to load the two modules on your system and check
whether the module loading works.


thanks,

Takashi


More information about the Alsa-devel mailing list