[alsa-devel] [PATCH 000/159] ASoC: codec cleanup - codec duplicate functions

Chen-Yu Tsai wens at csie.org
Mon Aug 8 12:36:46 CEST 2016


Hi,

On Mon, Aug 8, 2016 at 4:45 PM, Kuninori Morimoto
<kuninori.morimoto.gx at renesas.com> wrote:
>
> Hi Mark
>
> These are codec duplicate functions cleanup patches - v1
> We would like to switch to "component" style base ASoC in the future
> instead of current "CPU/Codec/Platform/Card" style.
>
> Current "component" already has callback functions, and "codec" is based
> on "component", but "codec" is still requesting/using its original callback.
> This is bacause of historical reason, but this is the time to cleanup.
>
> Lars's opinion is that this kind of cleanup can be final stage,
> but I think these are needed for "component" base style switching
>
> These are very big patch-set, but it doesn't add new features.
> [001/159] - [158/159] move callback functions from codec to component,
> and last [159/159] will remove codec side callback.

This series would probably be better for others to look through if the
codec name came after "ASoC: ", instead of at the end of the subject,
where it gets pushed way beyond 80 characters due to the "[alsa-devel]"
and "[PATCH xxx/yyy]" tags.


Regards
ChenYu

> We need this kind of cleanup for .probe/.remove too, and on Platform too.
> This cares codec duplicate callback function only as 1st step.
> I will post codec .probe/.remove cleanup if these are accepted,
> and will post platform side cleanup too.
>
> I build-tested these patches with make allyesconfig on x86,
> and tested on Lager board.
>
> Best regards
> ---
> Kuninori Morimoto
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list