]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: Fix randbuild error
authorYueHaibing <yuehaibing@huawei.com>
Mon, 14 Oct 2019 09:13:08 +0000 (17:13 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Oct 2019 16:11:57 +0000 (17:11 +0100)
commit9899a7a869935c4c93247b290ac7a70e0deab202
tree411ccbf47776243a4e3ce2d1600665afa44a2675
parent8a3ab38c36926ddbda3d2a3086c0a741fa175cff
ASoC: SOF: Fix randbuild error

When LEDS_TRIGGER_AUDIO is m and SND_SOC_SOF is y,

sound/soc/sof/control.o: In function `snd_sof_switch_put':
control.c:(.text+0x587): undefined reference to `ledtrig_audio_set'
control.c:(.text+0x593): undefined reference to `ledtrig_audio_set'

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 5d43001ae436 ("ASoC: SOF: acpi led support for switch controls")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191014091308.23688-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/control.c