diff options
author | YueHaibing <[email protected]> | 2019-11-27 16:21:45 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-11-27 12:50:56 +0000 |
commit | fb3194413d1ef79732931a40f54da21a16505a76 (patch) | |
tree | 0b3889be2f52bfbd5e0450d760f9a6a3c05a2c6b /tools/perf/scripts/python/netdev-times.py | |
parent | 469b3ad672e27b28c5865c804426f65e69c5e41a (diff) |
ASoC: rt5677: Fix build error without CONFIG_SPI
If CONFIG_SPI is n, SND_SOC_RT5677_SPI also is n, building fails:
sound/soc/codecs/rt5677.o: In function `rt5677_irq':
rt5677.c:(.text+0x2dbf): undefined reference to `rt5677_spi_hotword_detected'
sound/soc/codecs/rt5677.o: In function `rt5677_dsp_work':
rt5677.c:(.text+0x3709): undefined reference to `rt5677_spi_write'
This adds stub helpers to fix this.
Reported-by: Hulk Robot <[email protected]>
Fixes: 461c623270e4 ("ASoC: rt5677: Load firmware via SPI using delayed work")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions