]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Log a warning when machines use soc-audio
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 2 Mar 2012 13:07:41 +0000 (13:07 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 2 Mar 2012 16:21:25 +0000 (16:21 +0000)
commite48a17a10babef27e5e4261dd289e6b4ef65ec14
tree2c30161b8f67effae6fd240dd5fba56d428920c9
parentb089c7af91437ceb746323051920c048f5a3c897
ASoC: core: Log a warning when machines use soc-audio

snd_soc_register_card() has been available and strongly preferred since
2.6.38 but we're still seeing new drivers using it and the conversion rate
for older machines has been low. Help address both issues by logging a
warning when the soc-audio device probes.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c