Em Sun, 27 Sep 2009 20:12:12 -0400
Andy Walls <awa...@radix.net> escreveu:

> Mauro,
> 
> Please pull from http://linuxtv.org/hg/~awalls/cx23888-ir-part2
> 
> for the following 5 changesets:
> 
> 01/05: v4l2-subdev: Add v4l2_subdev_ir_ops and IR notify defines for 
> v4l2_device
> http://linuxtv.org/hg/~awalls/cx23888-ir-part2?cmd=changeset;node=8cbb951bbb9f
> 
> 02/05: cx23885: Complete CX23888 IR subdev implementation for Rx & almost for 
> Tx
> http://linuxtv.org/hg/~awalls/cx23888-ir-part2?cmd=changeset;node=a2d8d3d88c6d

Andy, there are some coding style issues here, not properly reported by the
current checkpatch.pl version we had at the tree, nor by the newer version.
I've opened a separate thread at LKML about that. 

For example, it didn't got any CodingStyle troubles on the formulas like:

+       if (d > RXCLK_RCD+1)
+                                CX23888_IR_REFCLK_FREQ/1000000);
+       if (rem >= CX23888_IR_REFCLK_FREQ/1000000/2)
+       clocks = CX23888_IR_REFCLK_FREQ/1000000 * (u64) ns; /* millicycles    */
+       return DIV_ROUND_CLOSEST((n+1) * 100, 16);

As there are no related changes on Documentation/CodingStyle, changing or 
relaxing
whitespacing rules, it is better to wait for the checkpatch.pl Maintainer (also 
called Andy ;) ) for him to check what's going wrong and hopefully provide a
fix for the regression. 

I'm afraid that more relevant codingstyle checks like the usage of deprecated
functions could eventually be broken. So, better to wait for his answer,
before proceed with patch merging.

> 
> 03/05: cx23885: Add integrated IR subdevice interrupt and notification 
> handling
> http://linuxtv.org/hg/~awalls/cx23888-ir-part2?cmd=changeset;node=1eb199665dbc
> 
> 04/05: ir-functions: Export ir_rc5_decode() for use by the cx23885 module
> http://linuxtv.org/hg/~awalls/cx23888-ir-part2?cmd=changeset;node=55a1e2e8128f
> 
> 05/05: cx23885: Add IR input keypress handling and enable for the HVR-1850
> http://linuxtv.org/hg/~awalls/cx23888-ir-part2?cmd=changeset;node=b05a093688a2
> 
> 
>  b/linux/drivers/media/video/cx23885/cx23885-input.c |  422 +++++++
>  b/linux/drivers/media/video/cx23885/cx23885-input.h |   30 
>  b/linux/drivers/media/video/cx23885/cx23885-ir.c    |  128 ++
>  b/linux/drivers/media/video/cx23885/cx23885-ir.h    |   36 
>  linux/drivers/media/common/ir-functions.c           |    3 
>  linux/drivers/media/video/cx23885/Makefile          |    4 
>  linux/drivers/media/video/cx23885/cx23885-cards.c   |   23 
>  linux/drivers/media/video/cx23885/cx23885-core.c    |   84 +
>  linux/drivers/media/video/cx23885/cx23885-ir.c      |    4 
>  linux/drivers/media/video/cx23885/cx23885-reg.h     |    5 
>  linux/drivers/media/video/cx23885/cx23885.h         |   13 
>  linux/drivers/media/video/cx23885/cx23888-ir.c      | 1139 
> +++++++++++++++++++-
>  linux/include/media/ir-common.h                     |    1 
>  linux/include/media/v4l2-subdev.h                   |   94 +
>  14 files changed, 1932 insertions(+), 54 deletions(-)
> 
> 
> This is the remainder of the changes required to get IR Rx input
> keypress handling working for the HVR-1850.  This builds upon my
> previous pull request for my cx23888-ir-part1 repo, which include
> Steven's patch.  (This cx23888-ir-part2 repo also has all the patches in
> the cx23888-ir-part1 repo.)
> 
> 
> The changes to v4l2-subdev.h include the struct v4l2_subdev_ir_ops
> definition that Hans had OK'ed in previous e-mails plus a few other
> defines I felt needed to be common eventually.
> 
> 
> When both this and the previous pull request are merged, I can then work
> on IR support for CX23885 and CX23418 cards that use essentially the
> same integrated IR controller.
> 
> 
> Thanks,
> Andy
> 




Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to