]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: simplify code
authorJean-Francois Moine <moinejf@free.fr>
Wed, 15 Jan 2014 15:51:33 +0000 (16:51 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:45:33 +0000 (12:45 +0000)
commitad4cfeba3a10d804d0b95a5b3bd80c6164fe5dc7
tree2474e86c4cfcbd64d9d262e44adb799b50dbc74f
parent6333ef0a6d756a72c48035feae2450b64f0372e4
ASoC: simple-card: simplify code

The check of the mandatory fields is done for DT in its specific sequence.
Move the global check to the non-DT sequence.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c