[media] tda8290: change magic LNA config values to enum
Use enum instead of magic values for LNA config in tda8290. Update tda827x, tda18271 and saa7134 to use the enum too. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Esse commit está contido em:

commit de
Mauro Carvalho Chehab

pai
34fe2784b4
commit
1bacb2df3b
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <linux/i2c.h>
|
||||
#include "dvb_frontend.h"
|
||||
#include "tda8290.h"
|
||||
|
||||
struct tda827x_config
|
||||
{
|
||||
@@ -34,7 +35,7 @@ struct tda827x_config
|
||||
int (*sleep) (struct dvb_frontend *fe);
|
||||
|
||||
/* interface to tda829x driver */
|
||||
unsigned int config;
|
||||
enum tda8290_lna config;
|
||||
int switch_addr;
|
||||
|
||||
void (*agcf)(struct dvb_frontend *fe);
|
||||
|
Referência em uma nova issue
Block a user