* [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
@ 2008-06-13 19:02 Timur Tabi
2008-06-13 19:34 ` Liam Girdwood
2008-06-23 16:41 ` Timur Tabi
0 siblings, 2 replies; 10+ messages in thread
From: Timur Tabi @ 2008-06-13 19:02 UTC (permalink / raw)
To: alsa-devel
Fix the Freescale MPC8610 HPCD sound driver so that it programs the DMACR
and PMUXCR registers in the global utilities correctly.
Signed-off-by: Timur Tabi <timur@freescale.com>
---
This patch is for 2.6.26. A similar fix has already been made in the ASOC V2
repository.
sound/soc/fsl/mpc8610_hpcd.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c
index a00aac7..8820c3f 100644
--- a/sound/soc/fsl/mpc8610_hpcd.c
+++ b/sound/soc/fsl/mpc8610_hpcd.c
@@ -58,9 +58,9 @@ static int mpc8610_hpcd_machine_probe(struct platform_device *sound_device)
sound_device->dev.platform_data;
/* Program the signal routing between the SSI and the DMA */
- guts_set_dmacr(machine_data->guts, machine_data->dma_id + 1,
+ guts_set_dmacr(machine_data->guts, machine_data->dma_id,
machine_data->dma_channel_id[0], CCSR_GUTS_DMACR_DEV_SSI);
- guts_set_dmacr(machine_data->guts, machine_data->dma_id + 1,
+ guts_set_dmacr(machine_data->guts, machine_data->dma_id,
machine_data->dma_channel_id[1], CCSR_GUTS_DMACR_DEV_SSI);
guts_set_pmuxcr_dma(machine_data->guts, machine_data->dma_id,
@@ -170,9 +170,9 @@ int mpc8610_hpcd_machine_remove(struct platform_device *sound_device)
/* Restore the signal routing */
- guts_set_dmacr(machine_data->guts, machine_data->dma_id + 1,
+ guts_set_dmacr(machine_data->guts, machine_data->dma_id,
machine_data->dma_channel_id[0], 0);
- guts_set_dmacr(machine_data->guts, machine_data->dma_id + 1,
+ guts_set_dmacr(machine_data->guts, machine_data->dma_id,
machine_data->dma_channel_id[1], 0);
switch (machine_data->ssi_id) {
@@ -182,7 +182,7 @@ int mpc8610_hpcd_machine_remove(struct platform_device *sound_device)
break;
case 1:
clrsetbits_be32(&machine_data->guts->pmuxcr,
- CCSR_GUTS_PMUXCR_SSI2_MASK, CCSR_GUTS_PMUXCR_SSI1_LA);
+ CCSR_GUTS_PMUXCR_SSI2_MASK, CCSR_GUTS_PMUXCR_SSI2_LA);
break;
}
--
1.5.5
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-13 19:02 [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver Timur Tabi
@ 2008-06-13 19:34 ` Liam Girdwood
2008-06-23 16:41 ` Timur Tabi
1 sibling, 0 replies; 10+ messages in thread
From: Liam Girdwood @ 2008-06-13 19:34 UTC (permalink / raw)
To: Timur Tabi, Takashi Iwai; +Cc: alsa-devel
On Fri, 2008-06-13 at 14:02 -0500, Timur Tabi wrote:
> Fix the Freescale MPC8610 HPCD sound driver so that it programs the DMACR
> and PMUXCR registers in the global utilities correctly.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-13 19:02 [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver Timur Tabi
2008-06-13 19:34 ` Liam Girdwood
@ 2008-06-23 16:41 ` Timur Tabi
2008-06-23 16:46 ` Takashi Iwai
1 sibling, 1 reply; 10+ messages in thread
From: Timur Tabi @ 2008-06-23 16:41 UTC (permalink / raw)
To: Takashi Iwai, Jaroslav Kysela; +Cc: alsa-devel
Timur Tabi wrote:
> Fix the Freescale MPC8610 HPCD sound driver so that it programs the DMACR
> and PMUXCR registers in the global utilities correctly.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
>
> This patch is for 2.6.26. A similar fix has already been made in the ASOC V2
> repository.
Is this patch going to get picked up for 2.6.26? I posted it 10 days ago, but
it looks like no one noticed.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:41 ` Timur Tabi
@ 2008-06-23 16:46 ` Takashi Iwai
2008-06-23 16:48 ` Timur Tabi
2008-06-23 16:51 ` Takashi Iwai
0 siblings, 2 replies; 10+ messages in thread
From: Takashi Iwai @ 2008-06-23 16:46 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel
At Mon, 23 Jun 2008 11:41:13 -0500,
Timur Tabi wrote:
>
> Timur Tabi wrote:
> > Fix the Freescale MPC8610 HPCD sound driver so that it programs the DMACR
> > and PMUXCR registers in the global utilities correctly.
> >
> > Signed-off-by: Timur Tabi <timur@freescale.com>
> > ---
> >
> > This patch is for 2.6.26. A similar fix has already been made in the ASOC V2
> > repository.
>
> Is this patch going to get picked up for 2.6.26? I posted it 10 days ago, but
> it looks like no one noticed.
No, it's not pushed for 2.6.26 although it's already on my tree for
the next kernel release. If this is an urgent fix for 2.6.26, please
show it explicitly. Otherwise I won't do it always (especially
changes for ASoC that I cannot test by myself)...
thanks,
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:46 ` Takashi Iwai
@ 2008-06-23 16:48 ` Timur Tabi
2008-06-23 16:57 ` Takashi Iwai
2008-06-23 16:51 ` Takashi Iwai
1 sibling, 1 reply; 10+ messages in thread
From: Timur Tabi @ 2008-06-23 16:48 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> No, it's not pushed for 2.6.26 although it's already on my tree for
> the next kernel release. If this is an urgent fix for 2.6.26, please
> show it explicitly. Otherwise I won't do it always (especially
> changes for ASoC that I cannot test by myself)...
I wouldn't say it's urgent.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:48 ` Timur Tabi
@ 2008-06-23 16:57 ` Takashi Iwai
2008-06-23 16:59 ` Timur Tabi
0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-06-23 16:57 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel
At Mon, 23 Jun 2008 11:48:07 -0500,
Timur Tabi wrote:
>
> Takashi Iwai wrote:
>
> > No, it's not pushed for 2.6.26 although it's already on my tree for
> > the next kernel release. If this is an urgent fix for 2.6.26, please
> > show it explicitly. Otherwise I won't do it always (especially
> > changes for ASoC that I cannot test by myself)...
>
> I wouldn't say it's urgent.
In general, the patches to be pushed to 2.6.26 at this stage should be
all urgent fixes. If not, we should postpone it.
So, if you think it's really worth to be pushed, I'll try to do it
now. Just let me know.
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:57 ` Takashi Iwai
@ 2008-06-23 16:59 ` Timur Tabi
2008-06-23 17:03 ` Takashi Iwai
0 siblings, 1 reply; 10+ messages in thread
From: Timur Tabi @ 2008-06-23 16:59 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> So, if you think it's really worth to be pushed, I'll try to do it
> now. Just let me know.
At this point, I wouldn't bother. The source code is fixed, but the end result
is that the hardware isn't programmed any differently, so it doesn't fix any
actual bugs.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:59 ` Timur Tabi
@ 2008-06-23 17:03 ` Takashi Iwai
0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2008-06-23 17:03 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel
At Mon, 23 Jun 2008 11:59:57 -0500,
Timur Tabi wrote:
>
> Takashi Iwai wrote:
>
> > So, if you think it's really worth to be pushed, I'll try to do it
> > now. Just let me know.
>
> At this point, I wouldn't bother. The source code is fixed, but the end result
> is that the hardware isn't programmed any differently, so it doesn't fix any
> actual bugs.
OK, in that case, we can put it later as post 2.6.26.
Thanks for clarification.
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:46 ` Takashi Iwai
2008-06-23 16:48 ` Timur Tabi
@ 2008-06-23 16:51 ` Takashi Iwai
2008-06-23 16:55 ` Timur Tabi
1 sibling, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2008-06-23 16:51 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel
At Mon, 23 Jun 2008 18:46:35 +0200,
I wrote:
>
> At Mon, 23 Jun 2008 11:41:13 -0500,
> Timur Tabi wrote:
> >
> > Timur Tabi wrote:
> > > Fix the Freescale MPC8610 HPCD sound driver so that it programs the DMACR
> > > and PMUXCR registers in the global utilities correctly.
> > >
> > > Signed-off-by: Timur Tabi <timur@freescale.com>
> > > ---
> > >
> > > This patch is for 2.6.26. A similar fix has already been made in the ASOC V2
> > > repository.
> >
> > Is this patch going to get picked up for 2.6.26? I posted it 10 days ago, but
> > it looks like no one noticed.
>
> No, it's not pushed for 2.6.26 although it's already on my tree for
> the next kernel release. If this is an urgent fix for 2.6.26, please
> show it explicitly. Otherwise I won't do it always (especially
> changes for ASoC that I cannot test by myself)...
Well, let me clarify a bit more: if the patch should be *merged* to
2.6.26 tree, this has to be noted somewhere. The text "the patch is
for 2.6.26" can be understood (as I did so indeed) like that "the
patch can be applied cleanly to 2.6.26".
Takashi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver
2008-06-23 16:51 ` Takashi Iwai
@ 2008-06-23 16:55 ` Timur Tabi
0 siblings, 0 replies; 10+ messages in thread
From: Timur Tabi @ 2008-06-23 16:55 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
> Well, let me clarify a bit more: if the patch should be *merged* to
> 2.6.26 tree, this has to be noted somewhere. The text "the patch is
> for 2.6.26" can be understood (as I did so indeed) like that "the
> patch can be applied cleanly to 2.6.26".
Hmmm. When I said, "this patch is for 2.6.26", I meant that the patch is for
2.6.26. I guess I'll be more explicit next time.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-06-23 17:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13 19:02 [PATCH] Fix register programming in Freescale MPC8610 HPCD sound driver Timur Tabi
2008-06-13 19:34 ` Liam Girdwood
2008-06-23 16:41 ` Timur Tabi
2008-06-23 16:46 ` Takashi Iwai
2008-06-23 16:48 ` Timur Tabi
2008-06-23 16:57 ` Takashi Iwai
2008-06-23 16:59 ` Timur Tabi
2008-06-23 17:03 ` Takashi Iwai
2008-06-23 16:51 ` Takashi Iwai
2008-06-23 16:55 ` Timur Tabi
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.