ASoC AC97 audio support for ep93xx
Subsystems (5)
cover ASoC AC97 audio support for ep93xx
Hello,
This series adds AC97 audio support for Cirrus Logic EP93xx family SoCs. Example machine driver is for Simplemachines Sim.One (which is the only hardware that I have which has AC97 codec).
The first patch is a bugfix for the DMA code. Without the patch audio DMA transfers may corrupt if playing application is killed while playing. This results weird noise playback when application is started again. I would like Ryan Mallon to confirm that this is indeed correct fix and if possible to check that I2S transfers still work after this patch is applied.
Please review.
Thanks,
MW
Mika Westerberg (4):
ARM: ep93xx: DMA: fix channel_disable
ASoC: add ep93xx AC97 audio driver
ARM: ep93xx: add AC97 platform support
ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support
arch/arm/mach-ep93xx/core.c | 32 ++ arch/arm/mach-ep93xx/dma-m2p.c | 2 +- arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 1 + arch/arm/mach-ep93xx/include/mach/platform.h | 1 + arch/arm/mach-ep93xx/simone.c | 1 + sound/soc/ep93xx/Kconfig | 17 +- sound/soc/ep93xx/Makefile | 4 + sound/soc/ep93xx/ep93xx-ac97.c | 476 +++++++++++++++++++++++ sound/soc/ep93xx/ep93xx-ac97.h | 17 + sound/soc/ep93xx/simone.c | 80 ++++ 10 files changed, 629 insertions(+), 2 deletions(-) create mode 100644 sound/soc/ep93xx/ep93xx-ac97.c create mode 100644 sound/soc/ep93xx/ep93xx-ac97.h create mode 100644 sound/soc/ep93xx/simone.c
PATCH 1/4 ARM: ep93xx: DMA: fix channel_disable
When channel_disable() is called, it disables per channel interrupts and waits until channels state becomes STATE_STALL, and then disables the channel. Now, if the DMA transfer is disabled while the channel is in STATE_NEXT we will not wait anything and disable the channel immediately. This seems to cause weird data corruption for example in audio transfers.
Fix is to wait while we are in STATE_NEXT or STATE_ON and only then disable the channel.
--- arch/arm/mach-ep93xx/dma-m2p.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-ep93xx/dma-m2p.c +1 -1
@@ -276,7 +276,7 @@ static void channel_disable(struct m2p_channel *ch) v &= ~(M2P_CONTROL_STALL_IRQ_EN |M2P_CONTROL_NFB_IRQ_EN );m2p_set_control (ch, v); -while (m2p_channel_state (ch) ==STATE_ON ) +while (m2p_channel_state (ch) >=STATE_ON )cpu_relax ();m2p_set_control (ch,0x0 );
Signature · 1 line
1.5.6.5
Re: [PATCH 1/4] ARM: ep93xx: DMA: fix channel_disable
Quoted 19 lines · Mika Westerberg
When
channel_disable()is called, it disables per channel interrupts and waits until channels state becomesSTATE_STALL, and then disables the channel. Now, if the DMA transfer is disabled while the channel is inSTATE_NEXTwe will not wait anything and disable the channel immediately. This seems to cause weird data corruption for example in audio transfers.Fix is to wait while we are in
STATE_NEXTorSTATE_ONand only then disable the channel.Signed-off-by Mika Westerberg <[email protected]>--- arch/arm/mach-ep93xx/dma-m2p.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-ep93xx/dma-m2p.c +0
-0
arch/arm/mach-ep93xx/dma-m2p.c static void channel_disable(struct m2p_channel *ch) · line 282
Quoted 8 lines
arch/arm/mach-ep93xx/dma-m2p.c +1
-1@@ -276,7 +276,7 @@ static void channel_disable(struct m2p_channel *ch) v &= ~(M2P_CONTROL_STALL_IRQ_EN |M2P_CONTROL_NFB_IRQ_EN );m2p_set_control (ch, v); -while (m2p_channel_state (ch) ==STATE_ON ) +while (m2p_channel_state (ch) >=STATE_ON )cpu_relax ();m2p_set_control (ch,0x0 );
Looks correct to me. CC'ed Lennert, who originally wrote the DMA M2P support, but otherwise:
Signature · 7 lines
Bluewater Systems Ltd - ARM Technology Solution Centre Ryan Mallon 5 Amuri Park, 404 Barbadoes St [email protected] PO Box 13 889, Christchurch 8013 http://www.bluewatersys.com New Zealand Phone: +64 3 3779127 Freecall: Australia 1800 148 751 Fax: +64 3 3779135 USA 1800 261 2934
PATCH 2/4 ASoC: add ep93xx AC97 audio driver
In reply to Mika WesterbergAdd support for AC97 controllers found in Cirrus Logic EP93xx family SoCs.
--- sound/soc/ep93xx/Kconfig | 8 +- sound/soc/ep93xx/Makefile | 2 + sound/soc/ep93xx/ep93xx-ac97.c | 476 ++++++++++++++++++++++++++++++++++++++++ sound/soc/ep93xx/ep93xx-ac97.h | 17 ++ 4 files changed, 502 insertions(+), 1 deletions(-) create mode 100644 sound/soc/ep93xx/ep93xx-ac97.c create mode 100644 sound/soc/ep93xx/ep93xx-ac97.h
sound/soc/ep93xx/Kconfig +7 -1
@@ -3,11 +3,17 @@ config SND_EP93XX_SOC depends on ARCH_EP93XX && SND_SOC help Say Y or M if you want to add support for codecs attached to - the EP93xx I2S interface. + the EP93xx I2S or AC97 interfaces. config SND_EP93XX_SOC_I2S tristate +config SND_EP93XX_SOC_AC97 + tristate + select AC97_BUS + select SND_AC97_CODEC + select SND_SOC_AC97_BUS + config SND_EP93XX_SOC_SNAPPERCL15 tristate "SoC Audio support for Bluewater Systems Snapper CL15 module" depends on SND_EP93XX_SOC && MACH_SNAPPER_CL15
sound/soc/ep93xx/Makefile +2 -0
@@ -1,9 +1,11 @@ # EP93xx Platform Support snd-soc-ep93xx-objs := ep93xx-pcm.o snd-soc-ep93xx-i2s-objs := ep93xx-i2s.o +snd-soc-ep93xx-ac97-objs := ep93xx-ac97.o obj-$(CONFIG_SND_EP93XX_SOC) += snd-soc-ep93xx.o obj-$(CONFIG_SND_EP93XX_SOC_I2S) += snd-soc-ep93xx-i2s.o +obj-$(CONFIG_SND_EP93XX_SOC_AC97) += snd-soc-ep93xx-ac97.o # EP93XX Machine Support snd-soc-snappercl15-objs := snappercl15.o
sound/soc/ep93xx/ep93xx-ac97.c new file +476 -0
476 lines not on this page · raw message
sound/soc/ep93xx/ep93xx-ac97.h new file +17 -0
@@ -0,0 +1,17 @@ +/* +* sound/soc/ep93xx/ep93xx-ac97.h +* EP93xx AC97 controller driver +* +* Copyright (c) 2010 Mika Westerberg +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2 as +* published by the Free Software Foundation. +*/ + +#ifndef _EP93XX_SND_SOC_AC97_H +#define _EP93XX_SND_SOC_AC97_H + +extern struct snd_soc_dai ep93xx_ac97_dai; + +#endif /* _EP93XX_SND_SOC_AC97_H */
Signature · 1 line
1.5.6.5
Re: [PATCH 2/4] ASoC: add ep93xx AC97 audio driver
sound/soc/ep93xx/ep93xx-ac97.c line 138
Quoted 3 lines · Mika Westerberg
sound/soc/ep93xx/ep93xx-ac97.c new file +3
-0+mutex_lock (&info->lock); + +INIT_COMPLETION (info->done);
Do you really need to do this on every single register I/O?
sound/soc/ep93xx/ep93xx-ac97.c line 145
Quoted 6 lines
sound/soc/ep93xx/ep93xx-ac97.c new file +6
-0+ep93xx_ac97_write_reg (info,AC97S1DATA , reg); +ep93xx_ac97_write_reg (info,AC97IM ,AC97_SLOT2RXVALID ); +if (!wait_for_completion_timeout (&info->done,AC97_TIMEOUT )) { +dev_warn (info->dev,"timeout reading register %x\n" , reg); +mutex_unlock (&info->lock); +return -1 ;
Return a real error code.
sound/soc/ep93xx/ep93xx-ac97.c line 472
Quoted 2 lines
sound/soc/ep93xx/ep93xx-ac97.c new file +2
-0+module_init (ep93xx_ac97_init); +module_exit (ep93xx_ac97_exit);
Put these next to the functions they're referencing.
sound/soc/ep93xx/ep93xx-ac97.h line 17
Quoted 6 lines
sound/soc/ep93xx/ep93xx-ac97.h new file +6
-0+#ifndef _EP93XX_SND_SOC_AC97_H +#define _EP93XX_SND_SOC_AC97_H + +extern struct snd_soc_dai ep93xx_ac97_dai; + +#endif /* _EP93XX_SND_SOC_AC97_H */
This is not needed with current ASoC. Are you sure you've tested with current code? You should always submit against the development version of the subsystem you're working with for any new drivers - for ASoC Jassi already pointed you at the tree, and you can in the general case also look at -next.
Re: [PATCH 2/4] ASoC: add ep93xx AC97 audio driver
Quoted 7 lines · Mark Brown
sound/soc/ep93xx/ep93xx-ac97.c line 138
Quoted 3 lines · Mika Westerberg
sound/soc/ep93xx/ep93xx-ac97.c new file +3
-0+mutex_lock (&info->lock); + +INIT_COMPLETION (info->done);Do you really need to do this on every single register I/O?
Sorry, didn't quite understand you. Do you mean that should I take the mutex and init the completion or wait for an interrupt?
Quoted 9 lines
sound/soc/ep93xx/ep93xx-ac97.c line 145
Quoted 7 lines
sound/soc/ep93xx/ep93xx-ac97.c new file +6
-0+ep93xx_ac97_write_reg (info,AC97S1DATA , reg); +ep93xx_ac97_write_reg (info,AC97IM ,AC97_SLOT2RXVALID ); +if (!wait_for_completion_timeout (&info->done,AC97_TIMEOUT )) { +dev_warn (info->dev,"timeout reading register %x\n" , reg); +mutex_unlock (&info->lock); +return -1 ;Return a real error code.
Ok, will do.
Quoted 5 lines
sound/soc/ep93xx/ep93xx-ac97.c line 472
Quoted 3 lines
sound/soc/ep93xx/ep93xx-ac97.c new file +2
-0+module_init (ep93xx_ac97_init); +module_exit (ep93xx_ac97_exit);Put these next to the functions they're referencing.
Ok.
Quoted 13 lines
sound/soc/ep93xx/ep93xx-ac97.h line 17
Quoted 7 lines
sound/soc/ep93xx/ep93xx-ac97.h new file +6
-0+#ifndef _EP93XX_SND_SOC_AC97_H +#define _EP93XX_SND_SOC_AC97_H + +extern struct snd_soc_dai ep93xx_ac97_dai; + +#endif /* _EP93XX_SND_SOC_AC97_H */ This is not needed with current ASoC. Are you sure you've tested with current code? You should always submit against the development version of the subsystem you're working with for any new drivers - for ASoC Jassi already pointed you at the tree, and you can in the general case also look at -next.
Yeah, sorry about that. I had the impression that using the latest mainline would be right thing to do :( I will base the next version against that tree pointed by Jassi.
Thanks for the comments,
MW
Re: [PATCH 2/4] ASoC: add ep93xx AC97 audio driver
Quoted 11 lines · Mika Westerberg
Quoted 7 lines · Mark Brown
sound/soc/ep93xx/ep93xx-ac97.c line 138
Quoted 3 lines · Mika Westerberg
sound/soc/ep93xx/ep93xx-ac97.c new file +2
-0+mutex_lock (&info->lock); +INIT_COMPLETION (info->done);Do you really need to do this on every single register I/O?
Sorry, didn't quite understand you. Do you mean that should I take the mutex and init the completion or wait for an interrupt?
You're doing INIT_COMPLETION every single time you use it - is that really required?
Quoted 3 lines
Yeah, sorry about that. I had the impression that using the latest mainline would be right thing to do :( I will base the next version against that tree pointed by Jassi.
Latest mainline means you're missing any changes that are ready for the next merge window, once code has gone to Linus it's bugfix only outside of the merge window so actual development happens in -next.
Re: [PATCH 2/4] ASoC: add ep93xx AC97 audio driver
Quoted 3 lines · Mark Brown
You're doing
INIT_COMPLETIONevery single time you use it - is that really required?
Ah, now I get it.
It seems that while I only use complete() there is no need for calling INIT_COMPLETION() everytime. Will remove from the next version.
Quoted 7 lines
Quoted 3 lines
Yeah, sorry about that. I had the impression that using the latest mainline would be right thing to do :( I will base the next version against that tree pointed by Jassi.
Latest mainline means you're missing any changes that are ready for the next merge window, once code has gone to Linus it's bugfix only outside of the merge window so actual development happens in -next.
Understood, thanks.
MW
PATCH 3/4 ARM: ep93xx: add AC97 platform support
In reply to Mika WesterbergAdd platform support for the EP93xx AC97 controller driver.
--- arch/arm/mach-ep93xx/core.c | 32 +++++++++++++++++++++++ arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 1 + arch/arm/mach-ep93xx/include/mach/platform.h | 1 + 3 files changed, 34 insertions(+), 0 deletions(-)
arch/arm/mach-ep93xx/core.c +32 -0
@@ -826,6 +826,38 @@ void ep93xx_i2s_release(void) }EXPORT_SYMBOL (ep93xx_i2s_release); +/************************************************************************* +* EP93xx AC97 audio peripheral handling +*************************************************************************/ +static struct resource ep93xx_ac97_resources[] = { + { + .start =EP93XX_AAC_PHYS_BASE , + .end =EP93XX_AAC_PHYS_BASE +0xb0 -1 , + .flags =IORESOURCE_MEM , + }, + { + .start =IRQ_EP93XX_AACINTR , + .end =IRQ_EP93XX_AACINTR , + .flags =IORESOURCE_IRQ , + }, +}; + +static struct platform_device ep93xx_ac97_device = { + .name ="ep93xx-ac97" , + .id =-1 , + .num_resources =ARRAY_SIZE (ep93xx_ac97_resources), + .resource = ep93xx_ac97_resources, +}; + +void __init ep93xx_register_ac97 (void ) +{ +/* +* Make sure that the AC97 pins are not used by I2S. +*/ +ep93xx_devcfg_clear_bits (EP93XX_SYSCON_DEVCFG_I2SONAC97 ); +platform_device_register (&ep93xx_ac97_device); +} +extern void ep93xx_gpio_init (void );void __init ep93xx_init_devices (void )
arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +1 -0
@@ -105,6 +105,7 @@#define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc)#define EP93XX_GPIO_EEDRIVE EP93XX_GPIO_REG(0xc8) +#define EP93XX_AAC_PHYS_BASE EP93XX_APB_PHYS(0x00080000)#define EP93XX_AAC_BASE EP93XX_APB_IOMEM(0x00080000)#define EP93XX_SPI_PHYS_BASE EP93XX_APB_PHYS(0x000a0000)
arch/arm/mach-ep93xx/include/mach/platform.h +1 -0
@@ -61,6 +61,7 @@ void ep93xx_keypad_release_gpio(struct platform_device *pdev);void ep93xx_register_i2s (void );int ep93xx_i2s_acquire (unsigned i2s_pins,unsigned i2s_config);void ep93xx_i2s_release (void ); +void ep93xx_register_ac97 (void );void ep93xx_init_devices (void );extern struct sys_timer ep93xx_timer;
Signature · 1 line
1.5.6.5
Re: [PATCH 3/4] ARM: ep93xx: add AC97 platform support
Quoted 38 lines · Mika Westerberg
Add platform support for the EP93xx AC97 controller driver.
Signed-off-by Mika Westerberg <[email protected]>--- arch/arm/mach-ep93xx/core.c | 32 +++++++++++++++++++++++ arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 1 + arch/arm/mach-ep93xx/include/mach/platform.h | 1 + 3 files changed, 34 insertions(+), 0 deletions(-)arch/arm/mach-ep93xx/core.c +21
-0@@ -826,6 +826,38 @@ void ep93xx_i2s_release(void) }EXPORT_SYMBOL (ep93xx_i2s_release); +/************************************************************************* +* EP93xx AC97 audio peripheral handling +*************************************************************************/ +static struct resource ep93xx_ac97_resources[] = { + { + .start =EP93XX_AAC_PHYS_BASE , + .end =EP93XX_AAC_PHYS_BASE +0xb0 -1 , + .flags =IORESOURCE_MEM , + }, + { + .start =IRQ_EP93XX_AACINTR , + .end =IRQ_EP93XX_AACINTR , + .flags =IORESOURCE_IRQ , + }, +}; + +static struct platform_device ep93xx_ac97_device = { + .name ="ep93xx-ac97" , + .id =-1 , + .num_resources =ARRAY_SIZE (ep93xx_ac97_resources), + .resource = ep93xx_ac97_resources,
arch/arm/mach-ep93xx/core.c void ep93xx_i2s_release(void) · line 859
Quoted 10 lines
arch/arm/mach-ep93xx/core.c +10
-0+}; + +void __init ep93xx_register_ac97 (void ) +{ +/* +* Make sure that the AC97 pins are not used by I2S. +*/ +ep93xx_devcfg_clear_bits (EP93XX_SYSCON_DEVCFG_I2SONAC97 ); +platform_device_register (&ep93xx_ac97_device); +}
The other ep93xx device support functions do this with acquire/release functions. However, it is quite unlikely that a board will ever need to switch from i2s to ac97 audio at runtime. Will see what Hartley thinks.
~Ryan
Signature · 7 lines
Bluewater Systems Ltd - ARM Technology Solution Centre Ryan Mallon 5 Amuri Park, 404 Barbadoes St [email protected] PO Box 13 889, Christchurch 8013 http://www.bluewatersys.com New Zealand Phone: +64 3 3779127 Freecall: Australia 1800 148 751 Fax: +64 3 3779135 USA 1800 261 2934
Re: [PATCH 3/4] ARM: ep93xx: add AC97 platform support
Quoted 14 lines · Ryan Mallon
arch/arm/mach-ep93xx/core.c void ep93xx_i2s_release(void) · line 859
Quoted 9 lines · Mika Westerberg
arch/arm/mach-ep93xx/core.c +9
-0+ +void __init ep93xx_register_ac97 (void ) +{ +/* +* Make sure that the AC97 pins are not used by I2S. +*/ +ep93xx_devcfg_clear_bits (EP93XX_SYSCON_DEVCFG_I2SONAC97 ); +platform_device_register (&ep93xx_ac97_device); +}The other ep93xx device support functions do this with acquire/release functions. However, it is quite unlikely that a board will ever need to switch from i2s to ac97 audio at runtime. Will see what Hartley thinks.
There is really no other option where to connect the AC97 codec. In cases where both are needed, one needs to mux I2S to the SSP pins. So not sure whether it makes sense to make the switch work at runtime.
Thanks,
MW
PATCH 4/4 ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support
In reply to Mika WesterbergAdd AC97 audio support for Simplemachines Sim.One board.
--- arch/arm/mach-ep93xx/simone.c | 1 + sound/soc/ep93xx/Kconfig | 9 +++++ sound/soc/ep93xx/Makefile | 2 + sound/soc/ep93xx/simone.c | 80 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 92 insertions(+), 0 deletions(-) create mode 100644 sound/soc/ep93xx/simone.c
arch/arm/mach-ep93xx/simone.c +1 -0
@@ -188,6 +188,7 @@ static void __init simone_init_machine(void) ARRAY_SIZE(simone_i2c_board_info));ep93xx_register_spi (&simone_spi_info, simone_spi_devices,ARRAY_SIZE (simone_spi_devices)); +ep93xx_register_ac97 (); }MACHINE_START (SIM_ONE ,"Simplemachines Sim.One Board" )
sound/soc/ep93xx/Kconfig +9 -0
@@ -22,3 +22,12 @@ config SND_EP93XX_SOC_SNAPPERCL15 help Say Y or M here if you want to add support for I2S audio on the Bluewater Systems Snapper CL15 module. + +config SND_EP93XX_SOC_SIMONE + tristate "SoC Audio support for Simplemachines Sim.One board" + depends on SND_EP93XX_SOC && MACH_SIM_ONE + select SND_EP93XX_SOC_AC97 + select SND_SOC_AC97_CODEC + help + Say Y or M here if you want to add support for AC97 audio on the + Simplemachines Sim.One board.
sound/soc/ep93xx/Makefile +2 -0
@@ -9,5 +9,7 @@ obj-$(CONFIG_SND_EP93XX_SOC_AC97) += snd-soc-ep93xx-ac97.o # EP93XX Machine Support snd-soc-snappercl15-objs := snappercl15.o +snd-soc-simone-objs := simone.o obj-$(CONFIG_SND_EP93XX_SOC_SNAPPERCL15) += snd-soc-snappercl15.o +obj-$(CONFIG_SND_EP93XX_SOC_SIMONE) += snd-soc-simone.o
sound/soc/ep93xx/simone.c new file +80 -0
80 lines not on this page · raw message
Signature · 1 line
1.5.6.5
Re: [PATCH 4/4] ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support
sound/soc/ep93xx/simone.c line 33
Quoted 7 lines · Mika Westerberg
sound/soc/ep93xx/simone.c new file +7
-0+ +static struct snd_soc_dai_link simone_dai = { + .name = "AC97", + .stream_name = "AC97 HiFi", + .cpu_dai = &ep93xx_ac97_dai, + .codec_dai = &ac97_dai, +};
ASoC no longer works on cpu and codec_dai. You need to only provide the name of the dais... ASoC does string matching to link appropriate dais in a link.
You might want to give another thorough look to all of your drivers under the new ASoC.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 4/4] ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support
Quoted 13 lines · Jassi Brar
Review
Quoted 7 lines · Mika Westerberg
(quoted diff) +7
-0+ +static struct snd_soc_dai_link simone_dai = { + ? ? ? .name ? ? ? ? ? = "AC97", + ? ? ? .stream_name ? ?= "AC97 HiFi", + ? ? ? .cpu_dai ? ? ? ?= &ep93xx_ac97_dai, + ? ? ? .codec_dai ? ? ?= &ac97_dai, +};ASoC no longer works on cpu and
codec_dai. You need to only provide the name of the dais... ASoC does string matching to link appropriate dais in a link.
Quoted 2 lines
You might want to give another thorough look to all of your drivers under the new ASoC.
Thanks.
Which tree/branch should I use for preparing the driver to work with the new ASoC? Is it the officialgit://git.alsa-project.org/alsa-kernel tree or something else?
Regards,
MW
Re: [PATCH 4/4] ASoC: ep93xx: add Simplemachines Sim.One AC97 audio support
Quoted 14 lines · Mika Westerberg
Quoted 13 lines · Jassi Brar
Review
Quoted 7 lines · Mika Westerberg
(quoted diff) +7
-0+ +static struct snd_soc_dai_link simone_dai = { + ? ? ? .name ? ? ? ? ? = "AC97", + ? ? ? .stream_name ? ?= "AC97 HiFi", + ? ? ? .cpu_dai ? ? ? ?= &ep93xx_ac97_dai, + ? ? ? .codec_dai ? ? ?= &ac97_dai, +};ASoC no longer works on cpu and
codec_dai. You need to only provide the name of the dais... ASoC does string matching to link appropriate dais in a link.
Quoted 8 lines
Quoted 2 lines
You might want to give another thorough look to all of your drivers under the new ASoC.
Thanks.
Which tree/branch should I use for preparing the driver to work with the new ASoC? Is it the official
git://git.alsa-project.org/alsa-kerneltree or something else?
http://git.kernel.org/?p=linux/kernel/git/broonie/sound-2.6.git;a=shortlog;h=refs/heads/for-2.6.37
Quoted 4 lines · Mika Westerberg
This series adds AC97 audio support for Cirrus Logic EP93xx family SoCs. Example machine driver is for Simplemachines Sim.One (which is the only hardware that I have which has AC97 codec).
Oops, I sent a wrong version of the patches. These were against my own Sim.One branch and don't apply to the latest mainline.
I'll send a new version in a minute.
Sorry for any inconvenience.
Regards,
MW