[alsa-devel] [PATCH 0/3] ALSA: Add DSP firmware loader

Ian Minett ian_minett at creativelabs.com
Thu Aug 30 22:21:03 CEST 2012


From: Ian Minett <ian_minett at creativelabs.com>

Hi Takashi,
Thanks for the recent code samples, they were very useful. We've built on them
to produce this latest patchset, incorporating the updates you provided to add the loader functions, and doing a minimal update to the CA0132 codec to use the new ops
to perform the firmware transfer.
Please let us know if any tweaks are needed to the update.

Thanks,
- Ian

Signed-off-by: Ian Minett <ian_minett at creativelabs.com>

---
1:
- memalloc.h
- pcm.h
- pcm_memory.c
- sgbuf.c
Include Takashi's updates:
Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases.
Passing struct snd_dma_buffer pointer instead, so that they work no
matter whether real SG buffer is used or not.

2:
- hda_intel.c
- hda_codec.h
Include Takashi's updates:
Pass DMA buffer pointers in calls to setup_bdle().
Add new callback routines to controller to handle loading
firmware binaries.
Add new switch to Kconfig to enable DSP firmware loader.

3:
- patch_ca0132.c
- ca0132_regs.h
Add support for DSP firmware transfer to CA0132 codec:
Add transfer handler functions.
Call the new snd_hda_codec_load_dsp_xxx loader ops to control download.
Add chip access routines.



More information about the Alsa-devel mailing list