ASoC: OMAP: HDMI: Change error values in HDMI CPU DAI
authorRicardo Neri <ricardo.neri@ti.com>
Fri, 18 May 2012 06:42:35 +0000 (01:42 -0500)
committerLiam Girdwood <lrg@ti.com>
Tue, 22 May 2012 16:33:23 +0000 (17:33 +0100)
commit0ff5ee871ff18bb5b66a81353aac1db7e9399d95
treeaef66ac29f1b3baf8bfbde0c831f4cf128b17b29
parente412ec64bd598d7c41edc00aed8de67b2fa19754
ASoC: OMAP: HDMI: Change error values in HDMI CPU DAI

When getting the needed resources fails, return -ENODEV. This is more
in line with other drivers do and it gives a more descriptive error.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/omap-hdmi.c