commit | c8959a39fd47189a1474a4e92ffa34763589d6b0 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Wed Nov 22 04:12:39 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Dec 08 11:11:25 2017 -0500 |
tree | bcb5da7425de2bfb99c6ac1f34ed15eff7b79040 | |
parent | 15ae0be9c671e912a6749d821bc69ccfff766c19 [diff] |
media: cec: disable the hardware when unregistered When the device is being unregistered disable the hardware, don't wait until cec_delete_adapter is called as the hardware may have disappeared by then. This would be the case for hotplugable devices. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reported-by: Bård Eirik Winther <bwinther@cisco.com> Tested-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>