linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: "David Härdeman" <david@hardeman.nu>
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: Thu, 08 Apr 2010 20:30:37 -0300	[thread overview]
Message-ID: <4BBE671D.7070308@infradead.org> (raw)
In-Reply-To: <20100408230948.GB18316@hardeman.nu>

David Härdeman wrote:
> 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).

While I don't care much on experimental trees, I always do a make allyesconfig
and try to compile all drivers before pushing on my master tree. This helps
to avoid some silly mistakes to go upstream ;)

-- 

Cheers,
Mauro

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

Thread overview: 7+ 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 ` [patch 1/3] [PATCH] drivers/media/IR - improve keytable code david
2010-04-02 18:58 ` [patch 2/3] [PATCH] drivers/media/IR - improve keyup/keydown logic david
2010-04-02 18:58 ` [patch 3/3] Convert drivers/media/dvb/ttpci/budget-ci.c to use ir-core david
2010-04-08 21:59   ` Mauro Carvalho Chehab
2010-04-08 23:09     ` David Härdeman
2010-04-08 23:30       ` Mauro Carvalho Chehab [this message]

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=4BBE671D.7070308@infradead.org \
    --to=mchehab@infradead.org \
    --cc=david@hardeman.nu \
    --cc=linux-input@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).