mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	modulator type 1 has no vga
This commit is contained in:
		| @@ -1528,8 +1528,9 @@ static int mod_prop_proc(struct ddb_mod *mod, struct dtv_property *tvp) | ||||
| 		return mod_set_ibitrate(mod, tvp->u.data); | ||||
|  | ||||
| 	case MODULATOR_GAIN: | ||||
| 		return mod_set_vga(mod->port->dev, tvp->u.data); | ||||
|  | ||||
| 		if (mod->port->dev->link[0].info->version == 2) | ||||
| 			return mod_set_vga(mod->port->dev, tvp->u.data); | ||||
| 		return -EINVAL; | ||||
| 	} | ||||
| 	return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user