All of lore.kernel.org
 help / color / mirror / Atom feed
* + firedtv-fix-regression-tuning-fails-due-to-bogus-error-return.patch added to -mm tree
@ 2009-11-03  6:46 akpm
  2009-11-03  9:01 ` Stefan Richter
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2009-11-03  6:46 UTC (permalink / raw)
  To: mm-commits; +Cc: stefanr, mchehab, rjw


The patch titled
     firedtv: fix regression: tuning fails due to bogus error return
has been added to the -mm tree.  Its filename is
     firedtv-fix-regression-tuning-fails-due-to-bogus-error-return.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: firedtv: fix regression: tuning fails due to bogus error return
From: Stefan Richter <stefanr@s5r6.in-berlin.de>

Since 2.6.32(-rc1), DVB core checks the return value of
dvb_frontend_ops.set_frontend.  Now it becomes apparent that firedtv
always returned a bogus value from its set_frontend method.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/media/dvb/firewire/firedtv-avc.c |    7 +++++--
 drivers/media/dvb/firewire/firedtv-fe.c  |    8 +-------
 2 files changed, 6 insertions(+), 9 deletions(-)

diff -puN drivers/media/dvb/firewire/firedtv-avc.c~firedtv-fix-regression-tuning-fails-due-to-bogus-error-return drivers/media/dvb/firewire/firedtv-avc.c
--- a/drivers/media/dvb/firewire/firedtv-avc.c~firedtv-fix-regression-tuning-fails-due-to-bogus-error-return
+++ a/drivers/media/dvb/firewire/firedtv-avc.c
@@ -573,8 +573,11 @@ int avc_tuner_dsd(struct firedtv *fdtv,
 
 	msleep(500);
 #if 0
-	/* FIXME: */
-	/* u8 *status was an out-parameter of avc_tuner_dsd, unused by caller */
+	/*
+	 * FIXME:
+	 * u8 *status was an out-parameter of avc_tuner_dsd, unused by caller
+	 * Check for AVC_RESPONSE_ACCEPTED here instead?
+	 */
 	if (status)
 		*status = r->operand[2];
 #endif
diff -puN drivers/media/dvb/firewire/firedtv-fe.c~firedtv-fix-regression-tuning-fails-due-to-bogus-error-return drivers/media/dvb/firewire/firedtv-fe.c
--- a/drivers/media/dvb/firewire/firedtv-fe.c~firedtv-fix-regression-tuning-fails-due-to-bogus-error-return
+++ a/drivers/media/dvb/firewire/firedtv-fe.c
@@ -141,18 +141,12 @@ static int fdtv_read_uncorrected_blocks(
 	return -EOPNOTSUPP;
 }
 
-#define ACCEPTED 0x9

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + firedtv-fix-regression-tuning-fails-due-to-bogus-error-return.patch added to -mm tree
  2009-11-03  6:46 + firedtv-fix-regression-tuning-fails-due-to-bogus-error-return.patch added to -mm tree akpm
@ 2009-11-03  9:01 ` Stefan Richter
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Richter @ 2009-11-03  9:01 UTC (permalink / raw)
  To: mchehab; +Cc: akpm, mm-commits, rjw, linux-kernel, linux-media, Henrik Kurelid

akpm@linux-foundation.org wrote:
> The patch titled
>      firedtv: fix regression: tuning fails due to bogus error return
> has been added to the -mm tree.

Mauro,

this one (v4l-dvb patch 13240) as well as
    firedtv: length field corrupt in ca2host if length>127
(v4l-dvb patch 13237) are 2.6.32-rc material.  The ca2host fix is
possibly also good for 2.6.x.y, but this is something which Henrik knows
better than me.
-- 
Stefan Richter
-=====-==--= =-== ---==
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-03  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03  6:46 + firedtv-fix-regression-tuning-fails-due-to-bogus-error-return.patch added to -mm tree akpm
2009-11-03  9:01 ` Stefan Richter

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.