commit | 688318c35af41e0638e5773140284836bcf0c9f3 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Tue Jul 11 08:20:18 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Jul 18 12:58:56 2017 -0300 |
tree | c658af156b6b623d6203d53d5b7f1b0de43714cd | |
parent | ab2ec7a53c661394eec55194500fe82e4cd32bc8 [diff] |
media: cec: be smarter about detecting the number of attempts made Some hardware does more than one attempt. So when it calls cec_transmit_done when an error occurred it will e.g. use an error count of 2 instead of 1. The framework always assumed a single attempt, but now it is smarter and will sum the counters to detect how many attempts were made. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>