mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
only warn about zigzag if max_drift is set
This commit is contained in:
parent
cf64ad4b0e
commit
0fcd9563f1
@ -503,6 +503,7 @@ static void dvb_frontend_swzigzag(struct dvb_frontend *fe)
|
|||||||
struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp;
|
struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp;
|
||||||
|
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0))
|
||||||
|
if (fepriv->max_drift)
|
||||||
dev_warn_once(fe->dvb->device,
|
dev_warn_once(fe->dvb->device,
|
||||||
"Frontend requested software zigzag, but didn't set the frequency step size\n");
|
"Frontend requested software zigzag, but didn't set the frequency step size\n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user