From 0fcd9563f1a8e770a1270b2d89e4083860782fe0 Mon Sep 17 00:00:00 2001 From: rjkm Date: Thu, 19 Sep 2024 10:34:30 +0200 Subject: [PATCH] only warn about zigzag if max_drift is set --- dvb-core/dvb_frontend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dvb-core/dvb_frontend.c b/dvb-core/dvb_frontend.c index 6f16269..593199b 100644 --- a/dvb-core/dvb_frontend.c +++ b/dvb-core/dvb_frontend.c @@ -503,6 +503,7 @@ static void dvb_frontend_swzigzag(struct dvb_frontend *fe) struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp; #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)) + if (fepriv->max_drift) dev_warn_once(fe->dvb->device, "Frontend requested software zigzag, but didn't set the frequency step size\n"); #endif