]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Atom: fix regression on compress DAI
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 2 Feb 2016 18:49:49 +0000 (12:49 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 2 Feb 2016 19:33:22 +0000 (19:33 +0000)
commitcc692aed3e74d9063810bde0918fa28d001e6d5c
treeedf5a76dde39e9387c34a661934657ffce66921d
parent9685cbe0a2bdecbee75c42267b7aa2d5e65a14ca
ASoC: Intel: Atom: fix regression on compress DAI

Commit fe40d89 ("ASoC: compress: Fix compress device direction check")
added a dependency on the compress-cpu-dai channel_min field
which was removed earlier by commit 4e1a6218
("ASoC: Intel: Atom: clean-up compressed DAI definition")
as part of the baytrail cleanups.

The net result was a regression at probe on all Atom platforms
with no sound card created.

Fix by adding explicit initialization for channel_min to 1
for the compress-cpu-dai.

Reported-by: Tobias Mädel <alsa-devel@tbspace.de>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst-mfld-platform-pcm.c