[alsa-devel] [PATCH 0/3] ASoC: davinci: devm_snd_soc_register_platform and mcasp cleanup

Peter Ujfalusi peter.ujfalusi at ti.com
Tue Apr 22 13:03:11 CEST 2014


Hi,

Now that we have resource managed version of snd_soc_register_platform() convert
the davinci ASoC code to use it.

Clean the mcasp driver's init code while we are here so we can remove the
platform driver's remove function since we now have managed resources only.

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform()
  ASoC: davinci-mcasp: Convert to use devm_snd_soc_register_component()
  ASoC: davinci-mcasp: Optimize pm_runtime usage and clean up the init
    code

 sound/soc/davinci/davinci-i2s.c   |  1 -
 sound/soc/davinci/davinci-mcasp.c | 69 ++++++++++-----------------------------
 sound/soc/davinci/davinci-pcm.c   |  8 +----
 sound/soc/davinci/davinci-pcm.h   |  4 ---
 sound/soc/davinci/davinci-vcif.c  |  1 -
 5 files changed, 19 insertions(+), 64 deletions(-)

-- 
1.9.2



More information about the Alsa-devel mailing list