]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card: Fix misleading error message
authorJulian Scheel <julian@jusst.de>
Wed, 24 May 2017 10:28:23 +0000 (12:28 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 24 May 2017 16:43:21 +0000 (17:43 +0100)
commit4b9bab03f86455072dba91778bd9aa7c17b4816e
tree38335480c45375cc6a2eaf12ae464e78824f10fb
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
ASoC: simple-card: Fix misleading error message

In case cpu could not be found the error message would always refer to
/codec/ not being found in DT. Fix this by catching the cpu node not found
case explicitly.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c