[PATCH 1/9] fix RPS init race

From: Johannes Stezenbach
Date: Sat Jan 22 2005 - 12:34:35 EST


- [DVB] saa7146: explicitely disable RPS tasks in saa7146_init_one()

Signed-off-by: Michael Hunold <hunold@xxxxxxxxxxx>
Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

diff -uraNwB linux-2.6.11-rc2/drivers/media/common/saa7146_core.c linux-2.6.11-rc2-dvb/drivers/media/common/saa7146_core.c
--- linux-2.6.11-rc2/drivers/media/common/saa7146_core.c 2005-01-20 19:55:47.000000000 +0100
+++ linux-2.6.11-rc2-dvb/drivers/media/common/saa7146_core.c 2005-01-20 19:56:37.000000000 +0100
@@ -380,8 +380,8 @@
/* disable all irqs */
saa7146_write(dev, IER, 0);

- /* shut down all dma transfers */
- saa7146_write(dev, MC1, 0x00ff0000);
+ /* shut down all dma transfers and rps tasks */
+ saa7146_write(dev, MC1, 0x30ff0000);

/* clear out any rps-signals pending */
saa7146_write(dev, MC2, 0xf8000000);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/