Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65852
b: refs/heads/master
c: 60a41d3
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent dd677f8 commit 0525f4f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44a6481dcd9ec835bbd608b1b2ee47ee62c7e1d8
refs/heads/master: 60a41d3b61a714d98a36cddbe182cc6ff0794274
4 changes: 0 additions & 4 deletions trunk/drivers/media/video/cx23885/cx23885-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,10 +1043,6 @@ static int cx23885_start_dma(struct cx23885_tsport *port,
cx_write(port->reg_gpcnt_ctl, 3);
q->count = 1;

/* A bug in the current 887 implementation, causes an NMI assert during
* starting or stopping interrupts or dma. Avoid the bug for the time being,
* enabling the developer to work on the demod/tuner locking work.
*/
switch(dev->bridge) {
case CX23885_BRIDGE_885:
case CX23885_BRIDGE_887:
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/cx23885/cx23885-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,10 @@ static int detach_inform(struct i2c_client *client)
void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
unsigned int cmd, void *arg)
{
// struct cx23885_dev *dev = bus->dev;

if (bus->i2c_rc != 0)
return;

i2c_clients_command(&bus->i2c_adap, cmd, arg);
i2c_clients_command(&bus->i2c_adap, cmd, arg);
}

static int cx23885_algo_control(struct i2c_adapter *adap,
Expand Down
11 changes: 2 additions & 9 deletions trunk/drivers/media/video/cx23885/cx23885-reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,14 @@ Channel manager Data Structure entry = 20 DWORD
#define RISC_WRITECM 0xC0000000
#define RISC_WRITECR 0xD0000000

//#define RISC_SYNC_ODD 0x80000000
//#define RISC_SYNC_EVEN 0x80000200
//#define RISC_RESYNC_ODD 0x80008000
//#define RISC_RESYNC_EVEN 0x80008200

// Do we need these?
/* Do we need these? */
#define RISC_WRITEC 0x50000000
#define RISC_READC 0xA0000000

// Is this used?
/* Is this used? */
#define RISC_IMM 0x00000001

//#define RISC_CNT_NONE 0x00000000
//#define RISC_CNT_RSVR 0x00020000
//#define RISC_JMP_SRP 0x01

/* Audio and Video Core */
#define HOST_REG1 0x00000000
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/media/video/cx23885/cx23885.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
/* Max number of inputs by card */
#define MAX_CX23885_INPUT 8

//#define SHADOW_MAX 3

#define BUFFER_TIMEOUT (HZ) /* 0.5 seconds */

#define CX23885_BOARD_NOAUTO UNSET
Expand Down Expand Up @@ -180,7 +178,6 @@ struct cx23885_dev {
int pci_bus, pci_slot;
u32 __iomem *lmmio;
u8 __iomem *bmmio;
//u32 shadow[SHADOW_MAX];
int pci_irqmask;

/* I2C adapters: Master 1 & 2 (External) & Master 3 (Internal only) */
Expand Down

0 comments on commit 0525f4f

Please sign in to comment.