This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] saa7134: swap ts_init_encoder and ts_reset_encoder
Author:  Hans Verkuil <[email protected]>
Date:    Thu Apr 17 04:23:07 2014 -0300

This will make the next patch a bit easier to read.

Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/saa7134/saa7134-empress.c |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=51aefd738b6b143010928c3b18939719fe5a8264

diff --git a/drivers/media/pci/saa7134/saa7134-empress.c 
b/drivers/media/pci/saa7134/saa7134-empress.c
index 07bd06c..393c9f1 100644
--- a/drivers/media/pci/saa7134/saa7134-empress.c
+++ b/drivers/media/pci/saa7134/saa7134-empress.c
@@ -48,17 +48,7 @@ MODULE_PARM_DESC(debug,"enable debug messages");
 
 /* ------------------------------------------------------------------ */
 
-static void ts_reset_encoder(struct saa7134_dev* dev)
-{
-       if (!dev->empress_started)
-               return;
-
-       saa_writeb(SAA7134_SPECIAL_MODE, 0x00);
-       msleep(10);
-       saa_writeb(SAA7134_SPECIAL_MODE, 0x01);
-       msleep(100);
-       dev->empress_started = 0;
-}
+static void ts_reset_encoder(struct saa7134_dev* dev);
 
 static int ts_init_encoder(struct saa7134_dev* dev)
 {
@@ -79,6 +69,18 @@ static int ts_init_encoder(struct saa7134_dev* dev)
        return 0;
 }
 
+static void ts_reset_encoder(struct saa7134_dev* dev)
+{
+       if (!dev->empress_started)
+               return;
+
+       saa_writeb(SAA7134_SPECIAL_MODE, 0x00);
+       msleep(10);
+       saa_writeb(SAA7134_SPECIAL_MODE, 0x01);
+       msleep(100);
+       dev->empress_started = 0;
+}
+
 /* ------------------------------------------------------------------ */
 
 static int ts_open(struct file *file)

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to