All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregoire Favre <gregoire.favre@gmail.com>
To: Andy Walls <awalls@radix.net>
Cc: linux-dvb@linuxtv.org, linux-media@vger.kernel.org
Subject: Re: [linux-dvb] s2-lipliandvb oops (cx88) -> cx88 maintainer ?
Date: Tue, 6 Jan 2009 17:39:12 +0100	[thread overview]
Message-ID: <20090106163912.GA3403@gmail.com> (raw)
In-Reply-To: <1231202800.3110.13.camel@palomino.walls.org>

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

On Mon, Jan 05, 2009 at 07:46:40PM -0500, Andy Walls wrote:

> Sure.  I'm actually a sucker for looking at oops dumps.  They're like
> simple little puzzles waiting to be solved.  Unfortunately, once I know
> the "answer", I rarely follow through with the final solution.

Thank you for the patch, I still can't tune with my HVR-4000 but at
least I don't have an oops when loading the modules.

In case anyone could be interested I attach the patch for v4l-dvb's hg.
-- 
Grégoire FAVRE http://gregoire.favre.googlepages.com http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

[-- Attachment #2: cx88-mpeg.c.diff --]
[-- Type: text/plain, Size: 1023 bytes --]

diff -r ce8589c52a7f linux/drivers/media/video/cx88/cx88-mpeg.c
--- a/linux/drivers/media/video/cx88/cx88-mpeg.c	Tue Jan 06 09:33:46 2009 -0200
+++ b/linux/drivers/media/video/cx88/cx88-mpeg.c	Tue Jan 06 17:27:03 2009 +0100
@@ -830,6 +830,9 @@
 	err = cx8802_init_common(dev);
 	if (err != 0)
 		goto fail_free;
+	/* Maintain a reference so cx88-video can query the 8802 device. */ 
+	core->dvbdev = dev;
+
 
 	INIT_LIST_HEAD(&dev->drvlist);
 	list_add_tail(&dev->devlist,&cx8802_devlist);
@@ -851,20 +854,19 @@
 					__func__);
 				videobuf_dvb_dealloc_frontends(&dev->frontends);
 				err = -ENOMEM;
+				/* FIXME - need to pull dev off cx8802_devlist*/
 				goto fail_free;
 			}
 		}
 	}
 #endif
 
-	/* Maintain a reference so cx88-video can query the 8802 device. */
-	core->dvbdev = dev;
-
 	/* now autoload cx88-dvb or cx88-blackbird */
 	request_modules(dev);
 	return 0;
 
  fail_free:
+	/* FIXME - shouldn't we pull dev off the cx8802_devlist - oops */ 
 	kfree(dev);
  fail_core:
 	cx88_core_put(core,pci_dev);

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2009-01-06 16:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-04 11:37 [linux-dvb] s2-lipliandvb oops (cx88) Gregoire Favre
2009-01-04 19:28 ` Andy Walls
2009-01-05 13:07   ` [linux-dvb] s2-lipliandvb oops (cx88) -> cx88 maintainer ? Gregoire Favre
2009-01-06  0:46     ` Andy Walls
2009-01-06 16:39       ` Gregoire Favre [this message]
2009-01-06 16:49       ` Mauro Carvalho Chehab
     [not found]         ` <20090106170002.GC3403@gmail.com>
2009-01-06 17:18           ` Mauro Carvalho Chehab
2009-01-06 19:09           ` Mauro Carvalho Chehab
     [not found]             ` <7C301ED0-CA57-406B-BA34-43A6EB21D96C@WhiteCitadel.com>
     [not found]               ` <35565.62.178.208.71.1231285755.squirrel@webmail.dark-green.com>
2009-01-07  0:33                 ` Andy Walls
2009-01-08  1:37                   ` Mauro Carvalho Chehab
     [not found]         ` <1231285976.3117.8.camel@palomino.walls.org>
2009-01-08  1:35           ` Mauro Carvalho Chehab

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=20090106163912.GA3403@gmail.com \
    --to=gregoire.favre@gmail.com \
    --cc=awalls@radix.net \
    --cc=linux-dvb@linuxtv.org \
    --cc=linux-media@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.