Re: [PATCH] Adds support for TEA5767 chipset on V4L

From: Mauro Carvalho Chehab
Date: Mon Jun 13 2005 - 13:46:35 EST


Hi, Jean,

Jean Delvare wrote:

>Hi Mauro,
>
>
>
>>PS 3: There were some I2C changes that affected V4L on 2.6.12-rc6-mm1.
>>Now, it is necessary to use probe option in tuner to have its I2C
>>addresses recognized by V4L. New patches will come to correct this
>>behavior.
>>
>>
>
>Which i2c patch please? The changes I made should not cause any trouble
>to V4L drivers. If they do this is a bug, please report it as such.
>
>
It is not a bug. The I2C patch has changed some V4L, but it was not
commited to V4L CVS. After making the diff files from CVS to -mm, we
noticed that. Patch07 reaplyed part of the patch. Some other V4L CVS
code had already changed to new behavior.

>Also, a comment on your patch (which I didn't actually review, as I do
>not feel qualified to do so):
>
>
>
>>+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
>>+#include "tuner.h"
>>+#include "i2c-compat.h"
>>+#else
>>+#include <media/tuner.h>
>>+#endif
>>
>>
>
>No such test please, it is useless. This is Linux 2.6.x, no need to
>check this.
>
>
There's a script to eliminate this before submiting the patch... For
some reason, as you pointed, it had failed for this code... I'll review
it next time.
This first sync patch had required so many effort, since there were
changes on both sides. I hope next time having less trouble :-)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/