diff mbox

Add missing modules aliases to get sound working on omap devices

Message ID 4FF417E8.1060008@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Guillaume GARDET July 4, 2012, 10:16 a.m. UTC
This patch add missing modules aliases to get sound working on omap devices.

Tested on Beagleboard xM rev. B.

This patch is against 3.5-rc5 vanilla.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>

Comments

Peter Ujfalusi July 6, 2012, 7:05 a.m. UTC | #1
On 07/04/2012 12:16 PM, Guillaume Gardet wrote:
> This patch add missing modules aliases to get sound working on omap devices.
> 
> Tested on Beagleboard xM rev. B.
> 
> This patch is against 3.5-rc5 vanilla.
> 
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
> 
> add-missing-modules-aliases-to-fix-audio-on-omap-devices.patch

Can you send the patch generated by git format-patch?
Since this is sound related patch, please send it to alsa-devel.
Please also CC the maintainers for the patches to be sure they are reaching
the right audience.

> --- ./sound/soc/omap/omap-pcm.c.orig	2012-07-04 10:30:13.611641186 +0200
> +++ ./sound/soc/omap/omap-pcm.c	2012-07-04 10:30:38.894034111 +0200
> @@ -441,3 +441,4 @@ module_platform_driver(omap_pcm_driver);
>  MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
>  MODULE_DESCRIPTION("OMAP PCM DMA module");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:omap-pcm-audio");
> --- ./sound/soc/omap/omap-mcbsp.c.orig	2012-07-04 10:29:14.240066817 +0200
> +++ ./sound/soc/omap/omap-mcbsp.c	2012-07-04 12:03:28.020756978 +0200
> @@ -820,3 +820,4 @@ module_platform_driver(asoc_mcbsp_driver
>  MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
>  MODULE_DESCRIPTION("OMAP I2S SoC Interface");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:omap-mcbsp-dai");

This should be:
+MODULE_ALIAS("platform:omap-mcbsp");
diff mbox

Patch

--- ./sound/soc/omap/omap-pcm.c.orig	2012-07-04 10:30:13.611641186 +0200
+++ ./sound/soc/omap/omap-pcm.c	2012-07-04 10:30:38.894034111 +0200
@@ -441,3 +441,4 @@  module_platform_driver(omap_pcm_driver);
 MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
 MODULE_DESCRIPTION("OMAP PCM DMA module");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-pcm-audio");
--- ./sound/soc/omap/omap-mcbsp.c.orig	2012-07-04 10:29:14.240066817 +0200
+++ ./sound/soc/omap/omap-mcbsp.c	2012-07-04 12:03:28.020756978 +0200
@@ -820,3 +820,4 @@  module_platform_driver(asoc_mcbsp_driver
 MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
 MODULE_DESCRIPTION("OMAP I2S SoC Interface");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-mcbsp-dai");