]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] coda: Propagate the correct error on devm_request_threaded_irq()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 4 Jun 2014 18:46:24 +0000 (15:46 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 03:38:27 +0000 (00:38 -0300)
commit08c8d14e7507d318cbd6ecae2c6c7cb31d0037af
tree68aa1c726f16499322bd1931dde18609adae06fd
parent7d37743a3ef0980432cb4fdf8e3906c54d6fb1dd
[media] coda: Propagate the correct error on devm_request_threaded_irq()

If devm_request_threaded_irq() fails, we should better propagate the real error.

Also, print out the error code in the dev_err message.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c