linux/sound/soc/intel/atom
Vinod Koul fba0d70665 ASoC: Intel: Atom: fix boot warning
Users have reported seeing this false warning on atom driver

[    5.647469] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 0 doesn't have DAPM widget!!!
[    5.661612] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 1 doesn't have DAPM widget!!!
[    5.661646] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 2 doesn't have DAPM widget!!!
[    5.661681] sst-mfld-platform sst-mfld-platform: Slot control: codec_out tx interleaver slot 3 doesn't have DAPM widget!!!
[    5.661708] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in0_0 doesn't have DAPM widget!!!
[    5.661738] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in0_1 doesn't have DAPM widget!!!
[    5.661771] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in1_0 doesn't have DAPM widget!!!
[    5.661807] sst-mfld-platform sst-mfld-platform: Slot control: codec_in rx deinterleaver codec_in1_1 doesn't have DAPM widget!!!

This is caused when check for control is not being associated
with a dapm widget, but the check is wrong as the else case
maybe triggered when widget is not powered up, so we should
check if widget is associated before printing this message.

Tested-by: Sandeep Tayal <sandeepx.tayal@intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-04-22 10:39:15 +01:00
..
sst ASoC: Intel: Atom: add support for CHT w/ RT5640 2016-03-05 13:05:18 +09:00
Makefile ASoC: Intel: create atom folder and move atom platform files in 2015-04-06 17:49:45 +01:00
sst-atom-controls.c ASoC: Intel: Atom: fix boot warning 2016-04-22 10:39:15 +01:00
sst-atom-controls.h ASoc: Intel: Atom: add deep buffer definitions for atom platforms 2015-12-19 11:49:56 +00:00
sst-mfld-dsp.h ASoC: Intel: create atom folder and move atom platform files in 2015-04-06 17:49:45 +01:00
sst-mfld-platform-compress.c ASoC: Intel: create atom folder and move atom platform files in 2015-04-06 17:49:45 +01:00
sst-mfld-platform-pcm.c ASoC: Intel: Atom: fix regression on compress DAI 2016-02-02 19:33:22 +00:00
sst-mfld-platform.h ASoC: intel - atom: fix sst_platform_compr_ops declaration 2015-07-08 19:24:05 +01:00