From: c0d1n61at3@gmail.com (Jiunn Chang) Date: Wed, 2 Oct 2019 22:18:14 -0500 Subject: [Linux-kernel-mentees] [PATCH v5 0/2] cec-compliance: tuner control In-Reply-To: <20191001031823.312020-1-c0d1n61at3@gmail.com> References: <20191001031823.312020-1-c0d1n61at3@gmail.com> Message-ID: <20191003031816.168985-1-c0d1n61at3@gmail.com> List-Id: Content-Type: text/plain; charset="UTF-8" Message-ID: <20191003031814.pwmz4C7aHlGksHOuBsMhQIhIJnjQPW7tgbE5frdAtHM@z> 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