[PATCH 0/7] cec: various fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Hans Verkuil <hans.verkuil@xxxxxxxxx>

While writing more and better compliance tests for the CEC API I found
a number of corner cases that were not handled correctly.

For the most part it was fields that weren't initialized correctly, but
but more serious was the fact that there was no limit to the number of
pending transmits. The other important bug was that the result of a
non-blocking transmit was never returned to userspace, so applications
using this method would have no way of knowing that the transmit was
successful or not.

The last patch adds MONITOR_ALL mode to vivid.

Regards,

	Hans

Hans Verkuil (7):
  cec: CEC_RECEIVE overwrote the timeout field
  cec: clear all status fields before transmit and always fill in
    sequence
  cec: don't set fh to NULL in CEC_TRANSMIT
  cec: zero unused msg part after msg->len
  cec: limit the size of the transmit queue
  cec: fix test for unconfigured adapter in main message loop
  vivid: support monitor all mode

 drivers/media/platform/vivid/vivid-cec.c | 44 ++++++++---------------
 drivers/staging/media/cec/cec-adap.c     | 61 +++++++++++++++++++++-----------
 drivers/staging/media/cec/cec-api.c      | 12 +++----
 include/media/cec.h                      | 19 +++++++---
 4 files changed, 75 insertions(+), 61 deletions(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux