From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752536AbZBQNac (ORCPT ); Tue, 17 Feb 2009 08:30:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751332AbZBQNaX (ORCPT ); Tue, 17 Feb 2009 08:30:23 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:47993 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751327AbZBQNaW (ORCPT ); Tue, 17 Feb 2009 08:30:22 -0500 Date: Tue, 17 Feb 2009 10:29:51 -0300 From: Mauro Carvalho Chehab To: Stefan Richter Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux1394-devel@lists.sourceforge.net, Christian Dolzer , Andreas Monitzer , Manu Abraham , Fabio De Lorenzo , Robert Berger , Ben Backx , Henrik Kurelid , Rambaldi Subject: Re: [review patch 0/1] add firedtv driver for FireWire-attached DVB receivers Message-ID: <20090217102951.21dab08c@pedra.chehab.org> In-Reply-To: References: X-Mailer: Claws Mail 3.3.1 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Feb 2009 20:33:17 +0100 (CET) Stefan Richter wrote: > firedtv is a driver for FireWire-attached DVB receivers from Digital > Everywhere GmbH. The devices are known as FireDTV (external boxes) and > FloppyDTV (internal cards, also connected through FireWire). The driver > supports > - the DVB-C, DVB-S/S2, and DVB-T range of FireDTV and FloppyDTV > models, > - control and reception through Linux' common DVB userspace ABI, > - standard definition video reception (MPEG2-TS, to be decoded > by userspace client software), > - Common Interface for Conditional Access Modules, > - input from infrared remote control. > > High definition support has yet to be added. Also, firedtv still > requires the ieee1394 kernel API but alternative support of the new > firewire kernel API is in progress. > > The driver, formerly known as firesat, was originally written by Andreas > Monitzer. Manu Abraham, Ben Backx, and Henrik Kurelid updated and > extended the driver; I did trivial cleanups, refactoring and small > fixes. > > Signed-off-by: Stefan Richter The driver looks sane to my eyes. I found just one minor issue (see bellow). Acked-by: Mauro Carvalho Chehab > + > + /* > + * AV/C specs say that answers should be sent within 150 ms. > + * Time out after 200 ms. > + */ > + if (wait_event_timeout(fdtv->avc_wait, > + fdtv->avc_reply_received, > + HZ / 5) != 0) { Instead of using HZ, it would be better to use: msecs_to_jiffies(200) Cheers, Mauro