add api function to control the IF gain for E4000 tuners

This commit is contained in:
Dimitri Stolnikov
2012-07-05 00:28:52 +02:00
parent 304c7c863d
commit 6ea029d92c
3 changed files with 39 additions and 13 deletions

View File

@ -723,8 +723,8 @@ static int find_stage_gain(uint8_t stage, int8_t val)
/*! \brief Set the gain of one of the IF gain stages
* \param [e4k] handle to the tuner chip
* \param [stage] numbere of the stage (1..6)
* \param [value] gain value in dBm
* \param [stage] number of the stage (1..6)
* \param [value] gain value in dB
* \returns 0 on success, negative in case of error
*/
int e4k_if_gain_set(struct e4k_state *e4k, uint8_t stage, int8_t value)