From 9e51da20e362f1d0c37342f57bd85e21033b39b1 Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Tue, 22 Jan 2008 01:03:10 -0300 Subject: [PATCH] --- yaml --- r: 76765 b: refs/heads/master c: 72e04f720f23cfa8d4400d832784f3a424379227 h: refs/heads/master i: 76763: c6b0fea43df0dc85869c9316d065e0542aee6978 v: v3 --- [refs] | 2 +- trunk/drivers/media/video/cx88/cx88-cards.c | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 2f9c06136a52..fd0653e66f85 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9121106a7f149f9702ed7c2ac0d86e9feb54ede8 +refs/heads/master: 72e04f720f23cfa8d4400d832784f3a424379227 diff --git a/trunk/drivers/media/video/cx88/cx88-cards.c b/trunk/drivers/media/video/cx88/cx88-cards.c index 254290975cdb..e6b7f518c56e 100644 --- a/trunk/drivers/media/video/cx88/cx88-cards.c +++ b/trunk/drivers/media/video/cx88/cx88-cards.c @@ -1893,12 +1893,10 @@ int cx88_tuner_callback(void *priv, int command, int arg) switch(core->boardnr) { case CX88_BOARD_PINNACLE_PCTV_HD_800i: if(command == 0) { /* This is the reset command from xc5000 */ - /* Reset XC5000 tuner via GPIO pin #2 */ - cx_set(MO_GP0_IO, 0x00000400); - cx_clear(MO_GP0_IO, 0x00000004); - mdelay(200); - cx_set(MO_GP0_IO, 0x00000004); - mdelay(200); + /* Reset XC5000 tuner via SYS_RSTO_pin */ + cx_write(MO_SRST_IO, 0); + msleep(10); + cx_write(MO_SRST_IO, 1); return 0; } else {