gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 3 May 2018 16:29:36 +0000 (18:29 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Jul 2018 14:56:36 +0000 (16:56 +0200)
commitd36d0e6309dd8137cf438cbb680e72eb63c81425
treee8dc69ad36e8533370b0c8a100cbcc342e340cfc
parent7cc3bf3f08b5645d1d08439fea36e4148dc6d7d3
gpu: ipu-v3: csi: pass back mbus_code_to_bus_cfg error codes

mbus_code_to_bus_cfg() can fail on unknown mbus codes; pass back the
error to the caller.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
[p.zabel@pengutronix.de - renamed rc to ret for consistency]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-csi.c