"Mark A. Greer" <[email protected]> writes:

> From: Mark A. Greer <[email protected]>
>
> Some mcasp code was inserted between the emac resource setup
> and the related register routine that registers the emac.
>
> Signed-off-by: Mark A. Greer <[email protected]>

Looks fine, pushing this series to davinci git master.

Kevin

> ---
> These patches are for the temp/asoc branch.
> The first two are aesthetic but the last one is functional.
> Unfortunately, sound doesn't seem to work before or afer
> these patches.
>
>  arch/arm/mach-davinci/devices-da8xx.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/devices-da8xx.c 
> b/arch/arm/mach-davinci/devices-da8xx.c
> index 58ad5b6..94ce7a1 100644
> --- a/arch/arm/mach-davinci/devices-da8xx.c
> +++ b/arch/arm/mach-davinci/devices-da8xx.c
> @@ -282,6 +282,11 @@ static struct platform_device da8xx_emac_device = {
>       .resource       = da8xx_emac_resources,
>  };
>  
> +int __init da8xx_register_emac(void)
> +{
> +     return platform_device_register(&da8xx_emac_device);
> +}
> +
>  static struct resource da830_mcasp1_resources[] = {
>       {
>               .name   = "mcasp1",
> @@ -338,11 +343,6 @@ static struct platform_device da850_mcasp_device = {
>       .resource       = da850_mcasp_resources,
>  };
>  
> -int __init da8xx_register_emac(void)
> -{
> -     return platform_device_register(&da8xx_emac_device);
> -}
> -
>  void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata)
>  {
>       /* DA830/OMAP-L137 has 3 instances of McASP */
> -- 
> 1.6.2.5.182.ga808d
>
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to