V4L/DVB (11056): Bug fix in NetUP: restore high address lines in CI
authorAbylay Ospan <aospan@netup.ru>
Tue, 17 Mar 2009 21:13:52 +0000 (18:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:24 +0000 (12:43 -0300)
CI high address lines disappears due to wrong data type used.
Patch to fix it.

Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cimax2.c

index 2105c2e4cf468105ea47a7ecb36b19793ae2747b..9a6536998d904348fb3a0ee5377c18363766de99 100644 (file)
@@ -157,7 +157,7 @@ int netup_ci_get_mem(struct cx23885_dev *dev)
 }
 
 int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot,
-                               u8 flag, u8 read, u8 addr, u8 data)
+                               u8 flag, u8 read, int addr, u8 data)
 {
        struct netup_ci_state *state = en50221->data;
        struct cx23885_tsport *port = state->priv;