mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Igor M. Liplianin" <liplianin@me.by>
To: Andy Walls <awalls@md.metrocast.net>,
	Andy Walls <awalls@radix.net>,
	Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: mchehab@infradead.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org, ivtv-devel@ivtvdriver.org
Subject: Re: [PATCH 14/18] cx25840: Fix subdev registration in cx25840-core.c
Date: Sat, 1 Jan 2011 15:44:40 +0200	[thread overview]
Message-ID: <201101011544.40967.liplianin@me.by> (raw)
In-Reply-To: <v38khxmtvlbmmvf5dv0i04b4.1293886218059@email.android.com>

В сообщении от 1 января 2011 14:58:30 автор Andy Walls написал:
> Igor,
> 
> The proper fix is here:
> 
> https://patchwork.kernel.org/patch/376612/
> 
> So, NAK on your particular patch.
So, it is safe to skip my patch.
Mauro, please skip it.

> 
> Mauro,
> 
> I do not see the above patch at linux next.  And I couldn't find it in your
> kernel.org tree.  What is its status?
> 
> This fixes a regression that is known to break cx23885 hardware
> initialization and can break ivtv hardware initialization.
> 
> Regards,
> Andy
> 
> "Igor M. Liplianin" <liplianin@me.by> wrote:
> >On my system, cx23885 based card reports default volume value above 70000.
> >So, register cx25840 subdev fails. Although, the card don't have a/v
> >inputs it needs a/v firmware to be loaded.
> >
> >Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
> >---
> >
> > drivers/media/video/cx25840/cx25840-core.c |    2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
> >
> >diff --git a/drivers/media/video/cx25840/cx25840-core.c
> >b/drivers/media/video/cx25840/cx25840-core.c index dfb198d..dc0cec7
> >100644
> >--- a/drivers/media/video/cx25840/cx25840-core.c
> >+++ b/drivers/media/video/cx25840/cx25840-core.c
> >@@ -1991,6 +1991,8 @@ static int cx25840_probe(struct i2c_client *client,
> >
> > 	if (!is_cx2583x(state)) {
> > 	
> > 		default_volume = 228 - cx25840_read(client, 0x8d4);
> > 		default_volume = ((default_volume / 2) + 23) << 9;
> >
> >+		if (default_volume > 65535)
> >+			default_volume = 65535;
> >
> > 		state->volume = v4l2_ctrl_new_std(&state->hdl,
> > 		
> > 			&cx25840_audio_ctrl_ops, V4L2_CID_AUDIO_VOLUME,

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks

  reply	other threads:[~2011-01-01 13:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-01 12:58 Andy Walls
2011-01-01 13:44 ` Igor M. Liplianin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-12-31 11:37 Igor M. Liplianin
2010-12-31 11:37 Igor M. Liplianin

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=201101011544.40967.liplianin@me.by \
    --to=liplianin@me.by \
    --cc=awalls@md.metrocast.net \
    --cc=awalls@radix.net \
    --cc=ivtv-devel@ivtvdriver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mchehab@redhat.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

all inboxes | Powered by JetHome®