Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2624ff4 authored by Silvan Jegen's avatar Silvan Jegen Committed by Mauro Carvalho Chehab
Browse files

[media] mantis: fix error handling



Remove dead code, make goto label names more expressive and add a label
in order to call mantis_dvb_exit if mantis_uart_init fails.

Also make sure that mantis_pci_exit is called if we fail the
mantis_stream_control call and that we call mantis_i2c_exit if
mantis_get_mac fails.

[mchehab@osg.samsung.com: fix merge conflict]
Signed-off-by: default avatarSilvan Jegen <s.jegen@gmail.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 44767fc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment