media: imx7-media-csi: Propagate the correct error for devm_request_irq()
authorFabio Estevam <festevam@gmail.com>
Sat, 4 May 2019 14:40:23 +0000 (10:40 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 28 May 2019 18:18:28 +0000 (14:18 -0400)
commit59e45933b13f12a76a48b7ab591b5b0abfc4e4df
tree04474089c55f8d3836d6b31f4ca76835c4c7cf13
parentb761151f40d5ecd4fcbaf9ebd9c16fe3a1a2e96c
media: imx7-media-csi: Propagate the correct error for devm_request_irq()

In the case of devm_request_irq() failure, let's propagate the real error
code instead of a fake one.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/imx/imx7-media-csi.c