diff mbox

DM365: SDIO interrupt pin correction

Message ID 54d94f230908060811l1bd83052m42fd83cecab7cd74@mail.gmail.com (mailing list archive)
State Rejected
Headers show

Commit Message

Phaneendra kumar Aug. 6, 2009, 3:11 p.m. UTC
This patch fixes a bug in DM365 sdio interrupt pin assignments.

Signed-off-by: phani@embwise.com
---
 arch/arm/mach-davinci/devices.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Kevin Hilman Aug. 7, 2009, 11:40 p.m. UTC | #1
PhaneendraKumar A <phani@embwise.com> writes:

> This patch fixes a bug in DM365 sdio interrupt pin assignments.
>
> Signed-off-by: phani@embwise.com
> ---
>  arch/arm/mach-davinci/devices.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/devices.c
> b/arch/arm/mach-davinci/devices.c
> index a55b650..34dc0e9 100644
> --- a/arch/arm/mach-davinci/devices.c
> +++ b/arch/arm/mach-davinci/devices.c
> @@ -177,7 +177,7 @@ void __init davinci_setup_mmc(int module, struct
> davinci_mmc_config *config)

Patch is line-wrapped.

>              mmcsd1_resources[0].start = DM365_MMCSD1_BASE;
>              mmcsd1_resources[0].end = DM365_MMCSD1_BASE +
>                              SZ_4K - 1;
> -            mmcsd0_resources[2].start = IRQ_DM365_SDIOINT1;
> +            mmcsd1_resources[2].start = IRQ_DM365_SDIOINT1;

also, run through scripts/checkpatch.pl and it will remind you
that code-indent should use tabs instead of spaces.

Kevin

>          } else
>              break;
>
> -- 
> 1.6.0.4
>
> --00163646c29066c48004707a8948
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">This patch fix=
> es a bug in DM365 sdio interrupt pin assignments.<br><br>Signed-off-by: <a =
> href=3D"mailto:phani@embwise.com" target=3D"_blank">phani@embwise.com</a><b=
> r>---<br>
>
> =A0arch/arm/mach-davinci/devices.c |=A0=A0=A0 2 +-<br>=A01 files changed, 1=
>  insertions(+), 1 deletions(-)<br>
> <br>diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/de=
> vices.c<br>index a55b650..34dc0e9 100644<br>--- a/arch/arm/mach-davinci/dev=
> ices.c<br>+++ b/arch/arm/mach-davinci/devices.c<br>@@ -177,7 +177,7 @@ void=
>  __init davinci_setup_mmc(int module, struct davinci_mmc_config *config)<br=
>>
>
>
> =A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 mmcsd1_resources[0].start =3D DM365_MMCSD1=
> _BASE;<br>=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 mmcsd1_resources[0].end =3D DM36=
> 5_MMCSD1_BASE +<br>=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=
> =A0=A0 =A0=A0=A0 SZ_4K - 1;<br>-=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 mmcsd0_resour=
> ces[2].start =3D IRQ_DM365_SDIOINT1;<br>
>
>
> +=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 mmcsd1_resources[2].start =3D IRQ_DM365_SDIO=
> INT1;<br>=A0=A0=A0=A0 =A0=A0=A0 } else<br>=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =
> break;<br>=A0<br>-- <br>1.6.0.4<br><br>
> </div>
> </div><br></div>
>
> --00163646c29066c48004707a8948--
>
>
> --===============0316620208==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>
> --===============0316620208==--
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/devices.c
b/arch/arm/mach-davinci/devices.c
index a55b650..34dc0e9 100644
--- a/arch/arm/mach-davinci/devices.c
+++ b/arch/arm/mach-davinci/devices.c
@@ -177,7 +177,7 @@  void __init davinci_setup_mmc(int module, struct
davinci_mmc_config *config)
             mmcsd1_resources[0].start = DM365_MMCSD1_BASE;
             mmcsd1_resources[0].end = DM365_MMCSD1_BASE +
                             SZ_4K - 1;
-            mmcsd0_resources[2].start = IRQ_DM365_SDIOINT1;
+            mmcsd1_resources[2].start = IRQ_DM365_SDIOINT1;
         } else
             break;