All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Härdeman" <david@hardeman.nu>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-input@vger.kernel.org, linux-media@vger.kernel.org
Subject: Re: [patch 3/3] Convert drivers/media/dvb/ttpci/budget-ci.c to use ir-core
Date: Fri, 9 Apr 2010 01:09:48 +0200	[thread overview]
Message-ID: <20100408230948.GB18316@hardeman.nu> (raw)
In-Reply-To: <4BBE51C2.8060505@infradead.org>

On Thu, Apr 08, 2010 at 06:59:30PM -0300, Mauro Carvalho Chehab wrote:
>david@hardeman.nu wrote:
>> This patch converts drivers/media/dvb/ttpci/budget-ci.c to use ir-core
>> rather than rolling its own keydown timeout handler and reporting keys
>> via drivers/media/IR/ir-functions.c.
>
>Hmm... had you test this patch? It got me an error here:

Sorry, I must have sent you the wrong one :)

>drivers/media/dvb/ttpci/budget-ci.c: In function ‘msp430_ir_init’:
>drivers/media/dvb/ttpci/budget-ci.c:228: error: implicit declaration of function ‘ir_input_init’
>drivers/media/dvb/ttpci/budget-ci.c:228: error: ‘struct budget_ci_ir’ has no member named ‘state’
>
>The fix is trivial. Just drop this line:
>
>        ir_input_init(input_dev, &budget_ci->ir.state, IR_TYPE_RC5);
>
>It shouldn't cause any troubles, since the only things this function currently do are:
>        ir->ir_type = ir_type;
>
>        if (repeat)
>                set_bit(EV_REP, dev->evbit);
>
>As the repeat is inside ir-core, and the ir struct is not used anymore, this removal
>should cause no harm.
>
>So, I am dropping the line at the code I'm committing at v4l-dvb.git, to avoid bisect
>breakages.

You're entirely correct, that line should have been dropped (I even sent 
the same thing as part of my latest patch series before I read this 
mail, but if you can fixup the original patch that'd be even better).


-- 
David Härdeman
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: "David Härdeman" <david@hardeman.nu>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: linux-input@vger.kernel.org, linux-media@vger.kernel.org
Subject: Re: [patch 3/3] Convert drivers/media/dvb/ttpci/budget-ci.c to use ir-core
Date: Fri, 9 Apr 2010 01:09:48 +0200	[thread overview]
Message-ID: <20100408230948.GB18316@hardeman.nu> (raw)
In-Reply-To: <4BBE51C2.8060505@infradead.org>

On Thu, Apr 08, 2010 at 06:59:30PM -0300, Mauro Carvalho Chehab wrote:
>david@hardeman.nu wrote:
>> This patch converts drivers/media/dvb/ttpci/budget-ci.c to use ir-core
>> rather than rolling its own keydown timeout handler and reporting keys
>> via drivers/media/IR/ir-functions.c.
>
>Hmm... had you test this patch? It got me an error here:

Sorry, I must have sent you the wrong one :)

>drivers/media/dvb/ttpci/budget-ci.c: In function ‘msp430_ir_init’:
>drivers/media/dvb/ttpci/budget-ci.c:228: error: implicit declaration of function ‘ir_input_init’
>drivers/media/dvb/ttpci/budget-ci.c:228: error: ‘struct budget_ci_ir’ has no member named ‘state’
>
>The fix is trivial. Just drop this line:
>
>        ir_input_init(input_dev, &budget_ci->ir.state, IR_TYPE_RC5);
>
>It shouldn't cause any troubles, since the only things this function currently do are:
>        ir->ir_type = ir_type;
>
>        if (repeat)
>                set_bit(EV_REP, dev->evbit);
>
>As the repeat is inside ir-core, and the ir struct is not used anymore, this removal
>should cause no harm.
>
>So, I am dropping the line at the code I'm committing at v4l-dvb.git, to avoid bisect
>breakages.

You're entirely correct, that line should have been dropped (I even sent 
the same thing as part of my latest patch series before I read this 
mail, but if you can fixup the original patch that'd be even better).


-- 
David Härdeman

  reply	other threads:[~2010-04-08 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02 18:58 [patch 0/3] ir-core keytable patches david
2010-04-02 18:58 ` david
2010-04-02 18:58 ` [patch 1/3] [PATCH] drivers/media/IR - improve keytable code david
2010-04-02 18:58   ` david
2010-04-02 18:58 ` [patch 2/3] [PATCH] drivers/media/IR - improve keyup/keydown logic david
2010-04-02 18:58   ` david
2010-04-02 18:58 ` [patch 3/3] Convert drivers/media/dvb/ttpci/budget-ci.c to use ir-core david
2010-04-02 18:58   ` david
2010-04-08 21:59   ` Mauro Carvalho Chehab
2010-04-08 23:09     ` David Härdeman [this message]
2010-04-08 23:09       ` David Härdeman
2010-04-08 23:30       ` 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=20100408230948.GB18316@hardeman.nu \
    --to=david@hardeman.nu \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.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.