[PATCH v4 2/6] ASoC: mediatek: mt8195: merge machine driver

Tzung-Bi Shih tzungbi at kernel.org
Thu Mar 24 00:45:14 PDT 2022


On Thu, Mar 24, 2022 at 01:38:47PM +0800, Trevor Wu wrote:
> Because most functions can be reused in different codec combinations,
> mt8195 machine drivers are combined to one common file.
> 
> The model and compatible string are used to decide which codecs are
> being used.
> 
> As a result, We can prevent from copy-paste functions when new codec
> combination is introduced.
> 
> Signed-off-by: Trevor Wu <trevor.wu at mediatek.com>

Reviewed-by: Tzung-Bi Shih <tzungbi at kernel.org>



More information about the Linux-mediatek mailing list