aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-acpi.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-08-24 15:09:11 -0500
committerMark Brown <broonie@kernel.org>2020-08-25 20:39:38 +0100
commitd5d023592e29b20aa17ba001495ebbab75b220f2 (patch)
tree743194a084972e54edbcc5f7d0c88bcc0f387c99 /include/sound/soc-acpi.h
parentASoC: SOF: acpi: add dev_dbg() log for probe completion (diff)
downloadlinux-dev-d5d023592e29b20aa17ba001495ebbab75b220f2.tar.xz
linux-dev-d5d023592e29b20aa17ba001495ebbab75b220f2.zip
ASoC: SOF: Intel: add dev_dbg log when driver is not selected
Mirror change suggested in legacy HDaudio driver. On SKL+ Intel platforms, the driver selection is handled by the snd_intel_dspcfg, and when the HDaudio legacy driver is not selected, be it with the auto-selection or user preferences with a kernel parameter, the probe aborts with no logs, only a -ENODEV return value. Having no dmesg trace, even with dynamic debug enabled, makes support more complicated than it needs to be, and even experienced users can be fooled. A simple dev_dbg() trace solves this problem. BugLink: https://github.com/thesofproject/linux/issues/2330 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200824200912.46852-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-acpi.h')
0 files changed, 0 insertions, 0 deletions