diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-02-10 18:02:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-22 17:09:04 +0300 |
commit | b39f93efc698fadc94a5fa273798f9e317089c72 (patch) | |
tree | a73a46ab60539999ae8561790e9f2cfb017aba2f /scripts/mod | |
parent | b94dffd65c5cf09d8d3420581bd099dc61e7c3f2 (diff) | |
download | linux-b39f93efc698fadc94a5fa273798f9e317089c72.tar.xz |
[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>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions