mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
reject too small symbol rates
This commit is contained in:
parent
c75a7892d9
commit
2d41161cb4
@ -256,6 +256,8 @@ static int mod_set_symbolrate(struct ddb_mod *mod, u32 srate)
|
||||
{
|
||||
struct ddb *dev = mod->port->dev;
|
||||
|
||||
if (srate < 1000000)
|
||||
return -EINVAL;
|
||||
if (dev->link[0].info->version < 2) {
|
||||
if (srate != 6900000)
|
||||
return -EINVAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user