linux/sound/soc/intel/catpt
Cezary Rojewski f38d43dafb
ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled
module_is_live() is available only when CONFIG_MODULES is enabled.
Replace its usage with try_module_get() which is present regardless of
said config's status.

Fixes: 7a10b66a5d ("ASoC: Intel: catpt: Device driver lifecycle")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20201007135701.20372-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-08 21:16:48 +01:00
..
core.h ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
device.c ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled 2020-10-08 21:16:48 +01:00
dsp.c ASoC: Intel: catpt: Define DSP operations 2020-10-02 15:32:30 +01:00
ipc.c ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00
loader.c ASoC: Intel: catpt: PCM operations 2020-10-02 15:32:32 +01:00
Makefile ASoC: Intel: Select catpt and deprecate haswell 2020-10-02 15:32:39 +01:00
messages.c ASoC: Intel: catpt: Add IPC message handlers 2020-10-02 15:32:29 +01:00
messages.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
pcm.c ASoC: Intel: catpt: PCM operations 2020-10-02 15:32:32 +01:00
registers.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
sysfs.c ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
trace.h ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00