public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: grigore calugar <zradu1100@gmail.com>
Cc: linux-media <linux-media@vger.kernel.org>
Subject: Re: SAA7134 card stop working
Date: Sat, 20 Feb 2016 06:54:40 -0200	[thread overview]
Message-ID: <20160220065440.79b76d92@recife.lan> (raw)
In-Reply-To: <CA+S3egC3v7GeOtaKt6iNa=TvnLnL=iC472xYFFX-Lm6WYccHrg@mail.gmail.com>

Em Tue, 16 Feb 2016 02:57:55 +0200
grigore calugar <zradu1100@gmail.com> escreveu:

> After this series of patches
> http://www.spinics.net/lists/linux-media/msg97115.html
> my tv card V-Stream Studio TV Terminator has no signal in tvtime until
> exchange audio standard from tvtime menu.
> 
> tvtime start with blue screen "no signal"
> When exchange audio standard from PAL-BG to PAL-DK , PAL-I and back to
> PAL-BG, the image appears on screen.
> It seems that the tuner is uninitialized until I change audio norm.

None of the changes should have changed the tuner initialization.

There are changes there, however, that could have changed the initialization
for different inputs. What input are you using?

Could you please send the output of the command:

	$ lsmod

to me?


Also, could you please test the enclosed patch?



diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c
index ffa39543eb65..f451e38e5759 100644
--- a/drivers/media/pci/saa7134/saa7134-video.c
+++ b/drivers/media/pci/saa7134/saa7134-video.c
@@ -479,7 +479,10 @@ void saa7134_set_tvnorm_hw(struct saa7134_dev *dev)
 {
 	saa7134_set_decoder(dev);
 
-	saa_call_all(dev, video, s_std, dev->tvnorm->id);
+	if (card_in(dev, n).type == SAA7134_INPUT_TV ||
+	    card_in(dev, n).type == SAA7134_INPUT_TV_MONO)
+		saa_call_all(dev, video, s_std, dev->tvnorm->id);
+
 	/* Set the correct norm for the saa6752hs. This function
 	   does nothing if there is no saa6752hs. */
 	saa_call_empress(dev, video, s_std, dev->tvnorm->id);

-- 
Thanks,
Mauro

  reply	other threads:[~2016-02-20  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16  0:57 SAA7134 card stop working grigore calugar
2016-02-20  8:54 ` Mauro Carvalho Chehab [this message]
     [not found]   ` <CA+S3egBHyQe2shO=4F9HU9WDdSpEQ=x+j3smoR0UFpjfDkXqAA@mail.gmail.com>
2016-02-20 13:17     ` grigore calugar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160220065440.79b76d92@recife.lan \
    --to=mchehab@osg.samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=zradu1100@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox