diff options
author | Holger Waechtler <devnull@localhost> | 2003-02-03 08:26:01 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-02-03 08:26:01 +0000 |
commit | 376a99fa7623c24c33c84b0ac41faa4f8d7bb02a (patch) | |
tree | 577c9979c72e64c157422d7e2c473a5a7a0fced4 /linux/drivers/media | |
parent | a862459628a05dd5a3a454c0e7fa2e6dd5384035 (diff) | |
download | mediapointer-dvb-s2-376a99fa7623c24c33c84b0ac41faa4f8d7bb02a.tar.gz mediapointer-dvb-s2-376a99fa7623c24c33c84b0ac41faa4f8d7bb02a.tar.bz2 |
update for RPS1 square generation program
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c index d7ce45356..0f109a12f 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c +++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c @@ -480,6 +480,8 @@ int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *i ** which seems that can be done perfectly without this :-)). */ cnt = 0; // Setup RPS1 "program" (p35) + // Wait reset Source Line Counter Threshold (p36) + dev->rps1[cnt++]=cpu_to_le32(CMD_PAUSE | RPS_INV | EVT_HS); // Wait Source Line Counter Threshold (p36) dev->rps1[cnt++]=cpu_to_le32(CMD_PAUSE | EVT_HS); // Set GPIO3=1 (p42) @@ -494,8 +496,6 @@ int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *i dev->rps1[cnt++]=cpu_to_le32(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); dev->rps1[cnt++]=cpu_to_le32(GPIO3_MSK); dev->rps1[cnt++]=cpu_to_le32(SAA7146_GPIO_OUTLO<<24); - // Wait reset Source Line Counter Threshold (p36) - dev->rps1[cnt++]=cpu_to_le32(CMD_PAUSE | RPS_INV | EVT_HS); // Jump to begin of RPS program (p37) dev->rps1[cnt++]=cpu_to_le32(CMD_JUMP); dev->rps1[cnt++]=cpu_to_le32(virt_to_bus(&dev->rps1[0])); |