This patch series implements analog tuner step features and cec-compliance
tests.
Added tuner_ctl_test() to test new tuner features implemented in the
cec-follower.
---
Changes made since v4:
- Add TOT_ANALOG_FREQS macro: hverkuil
- Rename function to analog_update_tuner_dev_info(): hverkuil
- Set freq_idx in analog_update_tuner_dev_info(): hverkuil
- Reuse info variable in tuner_ctl_test(): hverkuil
- Refactor tuner_ctl_test() to leverage timed_out_or_abort() and
abort_reason(): hverkuil
changes made since v3:
- Correct commit message for tuner emulation bug fix
- Refactor analog_get_nearest_freq_idx() to return freq index
- Refactor analog_get_type_system_idx() to set device info
- Add macro ARRAY_SIZE_ANA_FREQS
- Refactor tuner_ctl_test() to use std::vector
Changes made since v2:
- Fix bugs for tuner emulation
- Add freq_idx to cec-follower state
- Refactor tuner tests into a single tuner_ctl_test()
Changes made since v1:
- Remove redundant error checking
- Add circular wrap logic to tuner step increment/decrement
Jiunn Chang (2):
cec-follower: add tuner step increment/decrement
Add test for new features in cec-follower
utils/cec-compliance/cec-test.cpp | 74 +++++++++++++++++++++++++++++
utils/cec-follower/cec-follower.cpp | 2 +-
utils/cec-follower/cec-follower.h | 3 +-
utils/cec-follower/cec-tuner.cpp | 67 ++++++++++++++++++++------
4 files changed, 129 insertions(+), 17 deletions(-)
--
2.23.0