Home
last modified time | relevance | path

Searched hist:e7b2e30a3f88b02b13a9bde05044142b38456004 (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/kirkwood/
H A Dkirkwood-i2s.cdiff e7b2e30a3f88b02b13a9bde05044142b38456004 Fri Jun 30 23:46:33 CEST 2017 Gustavo A. R. Silva <garsilva@embeddedor.com> ASoC: kirkwood-i2s: fix error return code in kirkwood_i2s_dev_probe()

platform_get_irq() returns an error code, but the kirkwood-i2s
driver ignores it and always returns -ENXIO. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.
Notice that platform_get_irq() no longer returns 0 on error.

Print and propagate the return value of platform_get_irq on failure.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>