diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-12-17 10:40:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-19 07:16:53 -0500 |
commit | 25ac563abf3453339ca1db2bd35d42e47d9993b1 (patch) | |
tree | ad286f2105ec15fb3593ded6f3d0603bde68d00f /drivers/media/pci/dm1105 | |
parent | fac37bb124c221bde55ae77fbf8c7eff84881bda (diff) |
media: ddbridge: completely tear down input resources on failure
In dvb_input_attach(), whenever a demod driver fails to initialise, or if
frontend registration fails, perform a full input/frontend teardown using
dvb_input_detach() (which can safely be done since the current init state
is tracked in the 'attached' struct member). Claimed resources thus are
freed which aren't needed when an input or a port is not functional.
While at it, in ddb_ports_detach(), detach the secondary input first. Also
increase the kernlog severity of TDA18212 errors and tuner failures in
general.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/dm1105')
0 files changed, 0 insertions, 0 deletions