* [PATCH] davinci: fix DM365 EVM video input mux bits
@ 2011-07-19 3:30 Jon Povey
2011-07-19 5:29 ` Hadli, Manjunath
2011-07-19 8:56 ` Nori, Sekhar
0 siblings, 2 replies; 10+ messages in thread
From: Jon Povey @ 2011-07-19 3:30 UTC (permalink / raw)
To: davinci-linux-open-source, linux-arm-kernel, Sekhar Nori
Cc: linux-kernel, Kevin Hilman, Jon Povey
Video input mux settings for tvp7002 and imager inputs were swapped.
Comment was correct.
Tested on EVM with tvp7002 input.
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
---
As a bugfix maybe this should try to get into 3.0?
arch/arm/mach-davinci/board-dm365-evm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index c67f684..09a87e6 100644
--- a/arch/arm/mach-davinci/board-dm365-evm.c
+++ b/arch/arm/mach-davinci/board-dm365-evm.c
@@ -520,7 +520,7 @@ fail:
*/
if (have_imager()) {
label = "HD imager";
- mux |= 1;
+ mux |= 2;
/* externally mux MMC1/ENET/AIC33 to imager */
mux |= BIT(6) | BIT(5) | BIT(3);
@@ -540,7 +540,7 @@ fail:
resets &= ~BIT(1);
if (have_tvp7002()) {
- mux |= 2;
+ mux |= 1;
resets &= ~BIT(2);
label = "tvp7002 HD";
} else {
--
1.6.3.3
^ permalink raw reply [flat|nested] 10+ messages in thread* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 3:30 [PATCH] davinci: fix DM365 EVM video input mux bits Jon Povey
@ 2011-07-19 5:29 ` Hadli, Manjunath
2011-07-19 6:28 ` Jon Povey
2011-07-19 8:56 ` Nori, Sekhar
1 sibling, 1 reply; 10+ messages in thread
From: Hadli, Manjunath @ 2011-07-19 5:29 UTC (permalink / raw)
To: 'Jon Povey',
davinci-linux-open-source, linux-arm-kernel, Nori, Sekhar
Cc: linux-kernel
Jon,
The fix looks correct. As a part of a different implementation which will go soon upstream, this has been taken care of, where we have used macros
CPLD_VIDEO_INPUT_MUX_TVP7002 0x1
CPLD_VIDEO_INPUT_MUX_IMAGER 0x2
So, if you can do the same, it will look better.
Thanks,
-Manju
On Tue, Jul 19, 2011 at 09:00:11, Jon Povey wrote:
> Video input mux settings for tvp7002 and imager inputs were swapped.
> Comment was correct.
>
> Tested on EVM with tvp7002 input.
>
> Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
> ---
> As a bugfix maybe this should try to get into 3.0?
>
> arch/arm/mach-davinci/board-dm365-evm.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
> index c67f684..09a87e6 100644
> --- a/arch/arm/mach-davinci/board-dm365-evm.c
> +++ b/arch/arm/mach-davinci/board-dm365-evm.c
> @@ -520,7 +520,7 @@ fail:
> */
> if (have_imager()) {
> label = "HD imager";
> - mux |= 1;
> + mux |= 2;
>
> /* externally mux MMC1/ENET/AIC33 to imager */
> mux |= BIT(6) | BIT(5) | BIT(3);
> @@ -540,7 +540,7 @@ fail:
> resets &= ~BIT(1);
>
> if (have_tvp7002()) {
> - mux |= 2;
> + mux |= 1;
> resets &= ~BIT(2);
> label = "tvp7002 HD";
> } else {
> --
> 1.6.3.3
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
^ permalink raw reply [flat|nested] 10+ messages in thread* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 5:29 ` Hadli, Manjunath
@ 2011-07-19 6:28 ` Jon Povey
2011-07-19 7:25 ` Hadli, Manjunath
0 siblings, 1 reply; 10+ messages in thread
From: Jon Povey @ 2011-07-19 6:28 UTC (permalink / raw)
To: Hadli, Manjunath, davinci-linux-open-source, linux-arm-kernel,
Nori, Sekhar
Cc: linux-kernel
Hadli, Manjunath wrote:
> Jon,
>
> The fix looks correct. As a part of a different
> implementation which will go soon upstream, this has been
> taken care of, where we have used macros
> CPLD_VIDEO_INPUT_MUX_TVP7002 0x1
> CPLD_VIDEO_INPUT_MUX_IMAGER 0x2
>
> So, if you can do the same, it will look better.
If you have a patch you can split out that has your defines
where and how you want them then great.
Otherwise I'd suggest just getting this or something equivalent
in to fix the bug first, and reimplement it later.
--
Jon Povey
jon.povey@racelogic.co.uk
Racelogic is a limited company registered in England. Registered number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB .
The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 6:28 ` Jon Povey
@ 2011-07-19 7:25 ` Hadli, Manjunath
2011-07-19 9:00 ` Nori, Sekhar
0 siblings, 1 reply; 10+ messages in thread
From: Hadli, Manjunath @ 2011-07-19 7:25 UTC (permalink / raw)
To: 'Jon Povey',
davinci-linux-open-source, linux-arm-kernel, Nori, Sekhar
Cc: linux-kernel
Will not be able to give you a sub-patch as it is combined as part of a larger implementation.
Since the bug fix needs to go into 3.0, I am Ok if you fix the bug, and the macros can be substituted later.
-Manju
On Tue, Jul 19, 2011 at 11:58:19, Jon Povey wrote:
> Hadli, Manjunath wrote:
> > Jon,
> >
> > The fix looks correct. As a part of a different implementation which
> > will go soon upstream, this has been taken care of, where we have used
> > macros
> > CPLD_VIDEO_INPUT_MUX_TVP7002 0x1
> > CPLD_VIDEO_INPUT_MUX_IMAGER 0x2
> >
> > So, if you can do the same, it will look better.
>
> If you have a patch you can split out that has your defines where and how you want them then great.
>
> Otherwise I'd suggest just getting this or something equivalent in to fix the bug first, and reimplement it later.
>
> --
> Jon Povey
> jon.povey@racelogic.co.uk
>
> Racelogic is a limited company registered in England. Registered number 2743719 .
> Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB .
>
> The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network
>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 7:25 ` Hadli, Manjunath
@ 2011-07-19 9:00 ` Nori, Sekhar
2011-07-19 10:24 ` Hadli, Manjunath
0 siblings, 1 reply; 10+ messages in thread
From: Nori, Sekhar @ 2011-07-19 9:00 UTC (permalink / raw)
To: Hadli, Manjunath, 'Jon Povey',
davinci-linux-open-source, linux-arm-kernel
Cc: linux-kernel
Hi Manju,
On Tue, Jul 19, 2011 at 12:55:13, Hadli, Manjunath wrote:
> Will not be able to give you a sub-patch as it is combined as part of a larger implementation.
>
> Since the bug fix needs to go into 3.0, I am Ok if you fix the bug, and the
> macros can be substituted later.
I am going to take this as your ack and add:
Acked-by: Manjunath Hadli <manjunath.hadli@ti.com>
while committing.
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 9:00 ` Nori, Sekhar
@ 2011-07-19 10:24 ` Hadli, Manjunath
0 siblings, 0 replies; 10+ messages in thread
From: Hadli, Manjunath @ 2011-07-19 10:24 UTC (permalink / raw)
To: Nori, Sekhar, 'Jon Povey',
davinci-linux-open-source, linux-arm-kernel
Cc: linux-kernel
Sure. Please do.
Thanks and Regards,
-Manju
________________________________________
From: Nori, Sekhar
Sent: Tuesday, July 19, 2011 2:30 PM
To: Hadli, Manjunath; 'Jon Povey'; davinci-linux-open-source@linux.davincidsp.com; linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Subject: RE: [PATCH] davinci: fix DM365 EVM video input mux bits
Hi Manju,
On Tue, Jul 19, 2011 at 12:55:13, Hadli, Manjunath wrote:
> Will not be able to give you a sub-patch as it is combined as part of a larger implementation.
>
> Since the bug fix needs to go into 3.0, I am Ok if you fix the bug, and the
> macros can be substituted later.
I am going to take this as your ack and add:
Acked-by: Manjunath Hadli <manjunath.hadli@ti.com>
while committing.
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 3:30 [PATCH] davinci: fix DM365 EVM video input mux bits Jon Povey
2011-07-19 5:29 ` Hadli, Manjunath
@ 2011-07-19 8:56 ` Nori, Sekhar
2011-07-19 10:55 ` Russell King - ARM Linux
1 sibling, 1 reply; 10+ messages in thread
From: Nori, Sekhar @ 2011-07-19 8:56 UTC (permalink / raw)
To: Jon Povey, davinci-linux-open-source, linux-arm-kernel
Cc: linux-kernel, Hilman, Kevin
Hi Jon,
On Tue, Jul 19, 2011 at 09:00:11, Jon Povey wrote:
> Video input mux settings for tvp7002 and imager inputs were swapped.
> Comment was correct.
>
> Tested on EVM with tvp7002 input.
>
> Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
Thanks for the fix.
Since this part of the code hasn't changed since it
was written, this is a good candidate for stable
kernel series. You can just add:
Cc: stable@kernel.org
Also, this way if the fix fails to make it to 3.0,
it can make it into its stable series. I will add
the Cc line when I queue this patch.
> ---
> As a bugfix maybe this should try to get into 3.0?
I am going queue this to Arnd for sending it for v3.0.
He hasn't yet picked up my earlier pull request yet so
keep fingers crossed :)
BTW, I changed the subject to:
"davinci: DM365 EVM: fix video input mux bits"
Nothing really wrong with what you had, just that
I prefer it this way.
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 8:56 ` Nori, Sekhar
@ 2011-07-19 10:55 ` Russell King - ARM Linux
2011-07-20 16:40 ` Nori, Sekhar
0 siblings, 1 reply; 10+ messages in thread
From: Russell King - ARM Linux @ 2011-07-19 10:55 UTC (permalink / raw)
To: Nori, Sekhar
Cc: Jon Povey, davinci-linux-open-source, linux-arm-kernel, Hilman,
Kevin, linux-kernel
On Tue, Jul 19, 2011 at 02:26:50PM +0530, Nori, Sekhar wrote:
> Since this part of the code hasn't changed since it
> was written, this is a good candidate for stable
> kernel series. You can just add:
>
> Cc: stable@kernel.org
Be careful when doing that - if you have git mail the patches out for
review, and it picks that up, it'll send it to the stable team as well.
The stable team will then complain "that's not how to submit patches
to them".
So, while you can add "Cc: stable@kernel.org" to the patch, its best
to only add that just before you publish the commit after review, but
before merging.
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-19 10:55 ` Russell King - ARM Linux
@ 2011-07-20 16:40 ` Nori, Sekhar
2011-07-20 16:48 ` Russell King - ARM Linux
0 siblings, 1 reply; 10+ messages in thread
From: Nori, Sekhar @ 2011-07-20 16:40 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: Jon Povey, davinci-linux-open-source, linux-arm-kernel, Hilman,
Kevin, linux-kernel
Hi Russell,
On Tue, Jul 19, 2011 at 16:25:32, Russell King - ARM Linux wrote:
> On Tue, Jul 19, 2011 at 02:26:50PM +0530, Nori, Sekhar wrote:
> > Since this part of the code hasn't changed since it
> > was written, this is a good candidate for stable
> > kernel series. You can just add:
> >
> > Cc: stable@kernel.org
>
> Be careful when doing that - if you have git mail the patches out for
> review, and it picks that up, it'll send it to the stable team as well.
> The stable team will then complain "that's not how to submit patches
> to them".
>
> So, while you can add "Cc: stable@kernel.org" to the patch, its best
> to only add that just before you publish the commit after review, but
> before merging.
But its very tough to guess what the last version
ready for merging will be. Review comments can come
at any stage.
Would adding "Cc: stable@kernel.org" to the commit text
but taking care to not actually send mail to stable@kernel.org
help? The stable_kernel_rules.txt document seems to suggest
this is an acceptable way:
"
- To have the patch automatically included in the stable tree, add the tag
Cc: stable@kernel.org
in the sign-off area. Once the patch is merged it will be applied to
the stable tree without anything else needing to be done by the author
or subsystem maintainer.
"
Thanks,
Sekhar
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] davinci: fix DM365 EVM video input mux bits
2011-07-20 16:40 ` Nori, Sekhar
@ 2011-07-20 16:48 ` Russell King - ARM Linux
0 siblings, 0 replies; 10+ messages in thread
From: Russell King - ARM Linux @ 2011-07-20 16:48 UTC (permalink / raw)
To: Nori, Sekhar
Cc: Jon Povey, davinci-linux-open-source, linux-arm-kernel, Hilman,
Kevin, linux-kernel
On Wed, Jul 20, 2011 at 10:10:57PM +0530, Nori, Sekhar wrote:
> Hi Russell,
>
> On Tue, Jul 19, 2011 at 16:25:32, Russell King - ARM Linux wrote:
> > On Tue, Jul 19, 2011 at 02:26:50PM +0530, Nori, Sekhar wrote:
> > > Since this part of the code hasn't changed since it
> > > was written, this is a good candidate for stable
> > > kernel series. You can just add:
> > >
> > > Cc: stable@kernel.org
> >
> > Be careful when doing that - if you have git mail the patches out for
> > review, and it picks that up, it'll send it to the stable team as well.
> > The stable team will then complain "that's not how to submit patches
> > to them".
> >
> > So, while you can add "Cc: stable@kernel.org" to the patch, its best
> > to only add that just before you publish the commit after review, but
> > before merging.
>
> But its very tough to guess what the last version
> ready for merging will be. Review comments can come
> at any stage.
>
> Would adding "Cc: stable@kernel.org" to the commit text
> but taking care to not actually send mail to stable@kernel.org
> help? The stable_kernel_rules.txt document seems to suggest
> this is an acceptable way:
Correct.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-07-20 16:48 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-19 3:30 [PATCH] davinci: fix DM365 EVM video input mux bits Jon Povey
2011-07-19 5:29 ` Hadli, Manjunath
2011-07-19 6:28 ` Jon Povey
2011-07-19 7:25 ` Hadli, Manjunath
2011-07-19 9:00 ` Nori, Sekhar
2011-07-19 10:24 ` Hadli, Manjunath
2011-07-19 8:56 ` Nori, Sekhar
2011-07-19 10:55 ` Russell King - ARM Linux
2011-07-20 16:40 ` Nori, Sekhar
2011-07-20 16:48 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®