mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	change handling of raw_stream value so that 1 just turns it on but does not change control register
This commit is contained in:
		| @@ -672,14 +672,10 @@ static void ddb_input_start_unlocked(struct ddb_input *input) | ||||
| 		ddbwritel(dev, 1, DMA_BASE_WRITE); | ||||
| 		ddbwritel(dev, 3, DMA_BUFFER_CONTROL(input->dma)); | ||||
| 	} | ||||
| 	if (dev->link[0].info->type == DDB_OCTONET) | ||||
| 		ddbwritel(dev, 0x01, TS_CONTROL(input)); | ||||
| 	else { | ||||
| 		if (raw_stream) | ||||
| 			ddbwritel(dev, 0x01 | ((raw_stream & 3) << 8), TS_CONTROL(input)); | ||||
| 		else | ||||
| 			ddbwritel(dev, 0x01 | input->con, TS_CONTROL(input)); | ||||
| 	} | ||||
| 	if (raw_stream) | ||||
| 		ddbwritel(dev, 0x01 | (raw_stream & 0x300), TS_CONTROL(input)); | ||||
| 	else | ||||
| 		ddbwritel(dev, 0x01 | input->con, TS_CONTROL(input)); | ||||
| 	if (input->port->type == DDB_TUNER_DUMMY) | ||||
| 		ddbwritel(dev, 0x000fff01, TS_CONTROL2(input)); | ||||
| 	if (input->dma) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 internal
					internal