1. 14 11月, 2018 1 次提交
    • H
      media: cec: add new tx/rx status bits to detect aborts/timeouts · 94ec4487
      Hans Verkuil 提交于
      commit 7ec2b3b941a666a942859684281b5f6460a0c234 upstream.
      
      If the HDMI cable is disconnected or the CEC adapter is manually
      unconfigured, then all pending transmits and wait-for-replies are
      aborted. Signal this with new status bits (CEC_RX/TX_STATUS_ABORTED).
      
      If due to (usually) a driver bug a transmit never ends (i.e. the
      transmit_done was never called by the driver), then when this times
      out the message is marked with CEC_TX_STATUS_TIMEOUT.
      
      This should not happen and is an indication of a driver bug.
      
      Without a separate status bit for this it was impossible to detect
      this from userspace.
      
      The 'transmit timed out' kernel message is now a warning, so this
      should be more prominent in the kernel log as well.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: <stable@vger.kernel.org>      # for v4.18 and up
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      94ec4487
  2. 26 5月, 2018 1 次提交
  3. 23 9月, 2017 1 次提交
  4. 05 9月, 2017 1 次提交
  5. 22 3月, 2017 3 次提交
  6. 30 1月, 2017 1 次提交
  7. 17 11月, 2016 3 次提交
  8. 09 9月, 2016 3 次提交
  9. 23 8月, 2016 2 次提交
  10. 22 8月, 2016 5 次提交
  11. 20 7月, 2016 1 次提交
  12. 13 7月, 2016 4 次提交
  13. 10 7月, 2016 1 次提交
  14. 09 7月, 2016 4 次提交