From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: "David Härdeman" <david@hardeman.nu>
Cc: Jarod Wilson <jarod@wilsonet.com>, linux-media@vger.kernel.org
Subject: Re: [PATCH 0/6] rc-core: ir-core to rc-core conversion
Date: Thu, 11 Nov 2010 11:54:30 -0200 [thread overview]
Message-ID: <4CDBF596.6030206@infradead.org> (raw)
In-Reply-To: <20101110220115.GA7302@hardeman.nu>
Em 10-11-2010 20:01, David Härdeman escreveu:
> On Wed, Nov 10, 2010 at 02:24:16PM -0200, Mauro Carvalho Chehab wrote:
>> Em 10-11-2010 11:06, David Härdeman escreveu:
>>> On Wed, 10 Nov 2010 10:49:10 -0200, Mauro Carvalho Chehab
>>> <mchehab@infradead.org> wrote:
>>
>>>> So, I'll try to merge the pending patches from your tree. I'll let you
>>>> know if I have any problems.
>>>
>>> Sounds good. Thanks.
>>
>> David/Jarod,
>>
>> I pushed the merged patches at the tmp_rc tree:
>>
>> http://git.linuxtv.org/mchehab/tmp_rc.git
>>
>> Please test and give me some feedback. It ended that the rc function renaming patch
>> (6/7) broke both mceusb (due to TX changes) and cx231xx-input (a new driver from me,
>> for some devices that uses a crappy i2c uP, instead of the excellent in-cx231xx
>> IR support).
>>
>> I did no tests at all, except for compilation. So, I need your feedback
>> if the patches didn't actually break anything.
>
> So far I've noticed that this patch:
> [media] rc-core: convert winbond-cir
>
> removed the old winbond-cir.c file but doesn't add one in the
> drivers/media/rc/ directory.
>
Weird... it seems that i forgot to add the new file on my tree. I think I know why...
there are two files from kernel tree that got deleted during the build time. So, I had
to manually revert and re-do the commit. I suspect that there's something bad with
those two files at -rc1...
Anyway, my rebase to the patch that created the rc_register_device() functions
were not ok, as it broke cx231xx-input (a new IR driver added before your series).
While debugging the reason, I discovered some problems at the original patch. I just
sent an update for it.
The bad news is that ir-kbd-i2c also needs the stuff that are inside ir.props (e. g.,
the IR configuration logic). I wrote and just sent 2 patches to the ML with the fix
patches, against my media-tree.git, branch staging/for_v2.6.38. For now, only one field
of props is used, but other fields there are likely needed for the other places
where this driver is used, like the open/close callbacks, allowed_protocols, etc.
I don't like the idea of just copying all those config stuff into struct IR_i2c, and
then at struct rc_dev, and then at struct input_dev. It is too much data duplication
for no good reason.
So, I think we should re-think about your patch 6/7.
Comments?
Mauro
next prev parent reply other threads:[~2010-11-11 13:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 20:17 [PATCH 0/6] rc-core: ir-core to rc-core conversion David Härdeman
2010-11-02 20:17 ` [PATCH 1/6] ir-core: convert drivers/media/video/cx88 to ir-core David Härdeman
2010-11-02 20:17 ` [PATCH 2/6] ir-core: remove remaining users of the ir-functions keyhandlers David Härdeman
2010-11-02 20:17 ` [PATCH 3/6] ir-core: more cleanups of ir-functions.c David Härdeman
2010-11-02 20:17 ` [PATCH 4/6] ir-core: merge and rename to rc-core David Härdeman
2010-11-02 20:18 ` [PATCH 5/6] ir-core: make struct rc_dev the primary interface David Härdeman
2010-11-02 20:18 ` [PATCH 6/6] rc-core: convert winbond-cir David Härdeman
2010-11-02 20:26 ` [PATCH 0/6] rc-core: ir-core to rc-core conversion Jarod Wilson
2010-11-10 1:50 ` Mauro Carvalho Chehab
2010-11-10 3:25 ` Jarod Wilson
2010-11-10 4:33 ` Mauro Carvalho Chehab
2010-11-10 9:28 ` David Härdeman
2010-11-10 9:24 ` David Härdeman
2010-11-10 12:49 ` Mauro Carvalho Chehab
2010-11-10 13:06 ` David Härdeman
2010-11-10 16:24 ` Mauro Carvalho Chehab
2010-11-10 22:01 ` David Härdeman
2010-11-11 13:54 ` Mauro Carvalho Chehab [this message]
2010-11-11 15:19 ` David Härdeman
2010-11-11 16:00 ` Mauro Carvalho Chehab
2010-11-11 20:35 ` David Härdeman
2010-11-11 23:40 ` Jarod Wilson
2010-11-12 4:00 ` Mauro Carvalho Chehab
2010-11-12 12:12 ` David Härdeman
2010-11-12 12:56 ` Mauro Carvalho Chehab
2010-11-12 14:08 ` David Härdeman
2010-11-12 14:15 ` Mauro Carvalho Chehab
2010-11-12 12:03 ` David Härdeman
2010-11-11 14:06 ` Mauro Carvalho Chehab
2010-11-09 10:27 ` David Härdeman
2010-11-09 10:34 ` 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=4CDBF596.6030206@infradead.org \
--to=mchehab@infradead.org \
--cc=david@hardeman.nu \
--cc=jarod@wilsonet.com \
--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.