ASoC: fix 0-day warnings with snd_soc_new_compress()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 29 May 2018 23:30:02 +0000 (18:30 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 30 May 2018 10:35:07 +0000 (11:35 +0100)
commit0b014d72ebae14c0c6ab3fb36a442fda91e1a1b3
tree0adde9acf7c6475199f70015062faa6be210818d
parentb543e467d1a9451013cd89ddcacde07dda9e7f32
ASoC: fix 0-day warnings with snd_soc_new_compress()

All conditionally-defined routines in include/sound/soc.h expose a
static inline fallback to avoid 0-day warnings and compilation issues,
except snd_soc_new_compress().

Fixes: 5db6aab6f36f ('ASoC: topology: Add support for compressed PCMs')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h