[PATCH 0/2] media: Use complete() instead complete_all()

From: Daniel Wagner
Date: Fri Sep 16 2016 - 07:18:46 EST

From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>


Using complete_all() is not wrong per se but it suggest that there
might be more than one waiter. For -rt I am reviewing all
complete_all() users and would like to leave only the real ones in the
tree. The main problem for -rt about complete_all() is that it can be
uses inside IRQ context and that can lead to unbounded amount work
inside the interrupt handler. That is a no no for -rt.


Daniel Wagner (2):
[media] imon: use complete() instead of complete_all()
[media] lirc_imon: use complete() instead complete_all()

drivers/media/rc/imon.c | 6 ++++--
drivers/staging/media/lirc/lirc_imon.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)