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)
commit7ac45d1635a4cd2e99a4b11903d4a2815ca1b27b
tree38335480c45375cc6a2eaf12ae464e78824f10fb
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
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