From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 8/9 v2] MXC: Add a digital audio multiplexer driver
Date: Mon, 30 Nov 2009 17:03:56 +0100 [thread overview]
Message-ID: <20091130160356.GT27548@pengutronix.de> (raw)
In-Reply-To: <eedb5540911300509t11cc783cr8e97eda66ee382a@mail.gmail.com>
On Mon, Nov 30, 2009 at 02:09:16PM +0100, javier Martin wrote:
> From fa87b65915e78ad29a8e4f3f22b26ed0fa6dc7f5 Mon Sep 17 00:00:00 2001
>
> > From: Sascha Hauer <s.hauer@pengutronix.de>
> > Date: Mon, 30 Nov 2009 13:31:29 +0100
> > Subject: [PATCH] i.MX27 audmux: Fix register offsets
> >
> > The PPCR registers start at 0x10, not 0xc. Fix this.
> >
> > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > ---
> > arch/arm/plat-mxc/include/mach/audmux.h | 6 +++---
> > 1 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch/arm/plat-mxc/include/mach/audmux.h
> > b/arch/arm/plat-mxc/include/mach/audmux.h
> > index 5cd6466..dcc12d4 100644
> > --- a/arch/arm/plat-mxc/include/mach/audmux.h
> > +++ b/arch/arm/plat-mxc/include/mach/audmux.h
> > @@ -4,9 +4,9 @@
> > #define MX27_AUDMUX_HPCR1_SSI0 0
> > #define MX27_AUDMUX_HPCR2_SSI1 1
> > #define MX27_AUDMUX_HPCR3_SSI_PINS_4 2
> > -#define MX27_AUDMUX_PPCR1_SSI_PINS_1 3
> > -#define MX27_AUDMUX_PPCR2_SSI_PINS_2 4
> > -#define MX27_AUDMUX_PPCR3_SSI_PINS_3 5
> > +#define MX27_AUDMUX_PPCR1_SSI_PINS_1 4
> > +#define MX27_AUDMUX_PPCR2_SSI_PINS_2 5
> > +#define MX27_AUDMUX_PPCR3_SSI_PINS_3 6
> >
>
> Be careful,
> I think this patch breaks some of the boards currently using
> MXC_AUDMUX_V1_PCR_RXDSEL(x) and similar macros defined in mach/audmux.h (for
> example pcm038).
> For those macros the old AUDMUX register indexes are fine.
>
> I suggest fixing this inside audmux_v1.c instead of modifying mach/audmux.h.
Ok. The AUDMUX V1 is used on i.MX21 and i.MX27 and both have this hole
in the register space, so fixing it in the driver should be safe.
How about this one then?
Sascha
next prev parent reply other threads:[~2009-11-30 16:03 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 10:41 MXC patches for next merge window Sascha Hauer
2009-11-12 10:41 ` [PATCH 1/9] MXC NFC: Add the clock resource to support NFC in i.MX35 Sascha Hauer
2009-11-12 10:41 ` [PATCH 2/9] MXC NFC: Fix NFCs address area on i.MX35 Sascha Hauer
2009-11-12 10:41 ` [PATCH 3/9] pca100: Add board to uncompress.h Sascha Hauer
2009-11-12 10:42 ` [PATCH 4/9] pca100: use correct irq initialisation function Sascha Hauer
2009-11-12 10:42 ` [PATCH 5/9] pcm043: Add NAND support Sascha Hauer
2009-11-12 10:42 ` [PATCH 6/9] i.MX2: Add sound (ssi) resources Sascha Hauer
2009-11-12 10:42 ` [PATCH 7/9] i.MX3: " Sascha Hauer
2009-11-12 10:42 ` [PATCH 8/9] MXC: Add a digital audio multiplexer (DAM) driver Sascha Hauer
2009-11-12 10:42 ` [PATCH 9/9] i.MX35: Fix audmux clock Sascha Hauer
2009-11-12 12:47 ` [PATCH 8/9] MXC: Add a digital audio multiplexer (DAM) driver Mark Brown
2009-11-12 13:04 ` Sascha Hauer
2009-11-12 15:06 ` [PATCH 8/9 v2] MXC: Add a digital audio multiplexer driver Sascha Hauer
2009-11-12 22:32 ` Russell King - ARM Linux
2009-11-13 7:29 ` Sascha Hauer
2009-11-30 11:56 ` javier Martin
2009-11-30 12:10 ` Sascha Hauer
2009-11-30 12:25 ` javier Martin
2009-11-30 12:34 ` Sascha Hauer
2009-11-30 13:09 ` javier Martin
2009-11-30 16:03 ` Sascha Hauer [this message]
2009-11-30 16:15 ` javier Martin
2009-11-30 16:18 ` Sascha Hauer
2009-12-02 11:20 ` Sascha Hauer
2009-12-02 12:46 ` javier Martin
2009-11-12 12:43 ` [PATCH 5/9] pcm043: Add NAND support Fabio Estevam
2009-11-12 13:06 ` Sascha Hauer
2009-11-12 20:04 ` [PATCH 2/9] MXC NFC: Fix NFCs address area on i.MX35 Magnus Lilja
2009-11-13 7:29 ` Sascha Hauer
2009-11-18 9:49 ` MXC patches for next merge window Sascha Hauer
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=20091130160356.GT27548@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).