[media] cx88: Fix reset delays
authorAlan Cox <alan@linux.intel.com>
Tue, 4 Sep 2012 13:30:49 +0000 (10:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 16:49:52 +0000 (13:49 -0300)
This was reported in March 2011 by Mirek Slugen, and a simple fix posted at the time then
never got fixed and applied. The bug is still present.
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=37703

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx88/cx88-cards.c

index 4e9d4f7..0c25524 100644 (file)
@@ -3028,9 +3028,9 @@ static int cx88_xc3028_winfast1800h_callback(struct cx88_core *core,
                cx_set(MO_GP1_IO, 0x1010);
                mdelay(50);
                cx_clear(MO_GP1_IO, 0x10);
-               mdelay(50);
+               mdelay(75);
                cx_set(MO_GP1_IO, 0x10);
-               mdelay(50);
+               mdelay(75);
                return 0;
        }
        return -EINVAL;