summaryrefslogtreecommitdiff
path: root/drivers/media/cec/cec-api.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-02-10 13:02:31 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-22 11:09:04 -0300
commitb39f93efc698fadc94a5fa273798f9e317089c72 (patch)
treea73a46ab60539999ae8561790e9f2cfb017aba2f /drivers/media/cec/cec-api.c
parentb94dffd65c5cf09d8d3420581bd099dc61e7c3f2 (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>
Diffstat (limited to 'drivers/media/cec/cec-api.c')
0 files changed, 0 insertions, 0 deletions