aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Scheller <[email protected]>2017-12-06 12:59:14 -0500
committerMauro Carvalho Chehab <[email protected]>2017-12-13 10:19:41 -0500
commitb32a2b42f76cdfd06b4b58a1ddf987ba329ae34e (patch)
tree8f2fa43f8f2d90c6a8b9d01264a3f5a415fe4625 /tools/perf/scripts/python/export-to-postgresql.py
parent6738d3bbab999d7d9d77a185d62bd146d9a257f2 (diff)
media: ddbridge: improve error handling logic on fe attach failures
This change makes sure that demod frontends are always detached whenever a tuner frontend attach failed. Achieve this by moving the detach-on- failure logic at the end of dvb_input_attach(), and adding a goto to this block on every tuner attach failure case, so if an error occurs, there are no stray attached frontends left. As a side effect, this removes some duplicated code. Signed-off-by: Daniel Scheller <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions