commit | b39f93efc698fadc94a5fa273798f9e317089c72 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Feb 10 13:02:31 2017 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Mar 22 11:09:04 2017 -0300 |
tree | a73a46ab60539999ae8561790e9f2cfb017aba2f | |
parent | b94dffd65c5cf09d8d3420581bd099dc61e7c3f2 [diff] |
[media] cec: improve flushing queue When the adapter is unloaded or unconfigured, then all transmits and pending waits should be flushed. Move this code into its own function and improve the code that cancels delayed work to avoid having to unlock adap->lock. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>