From de27043d4203d941d15d262e5fff1d789d0b655e Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Tue, 5 Dec 2017 19:25:02 +0100 Subject: [PATCH] add NO_INPUT define and initialize input property to NO_INPUT --- dvb-core/dvb_frontend.c | 1 + include/linux/dvb/frontend.h | 1 + 2 files changed, 2 insertions(+) diff --git a/dvb-core/dvb_frontend.c b/dvb-core/dvb_frontend.c index c985942..8131125 100644 --- a/dvb-core/dvb_frontend.c +++ b/dvb-core/dvb_frontend.c @@ -973,6 +973,7 @@ static int dvb_frontend_clear_cache(struct dvb_frontend *fe) c->stream_id = NO_STREAM_ID_FILTER; c->pls = NO_SCRAMBLING_CODE; + c->input = NO_INPUT; switch (c->delivery_system) { case SYS_DVBS: diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index 03a580a..a77bdc3 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h @@ -742,6 +742,7 @@ enum atscmh_rs_code_mode { #define NO_STREAM_ID_FILTER (~0U) #define NO_SCRAMBLING_CODE (~0U) #define LNA_AUTO (~0U) +#define NO_INPUT (~0U) /** * enum fecap_scale_params - scale types for the quality parameters.