Re: [PATCH] ASoC: ak4458: Add DSD support for ak4458 and ak4497

2020-09-11 Thread Shengjiu Wang
On Thu, Sep 10, 2020 at 10:23 PM Mark Brown wrote: > > On Thu, Sep 10, 2020 at 10:10:32PM +0800, Shengjiu Wang wrote: > > > ak4458 can't support DSD512 format, but ak4497 can, so add > > a new variable in ak4458_drvdata to distinguish these two > > platform. > > > In hw_params(), calculate bit clo

Re: [PATCH] ASoC: ak4458: Add DSD support for ak4458 and ak4497

2020-09-10 Thread Mark Brown
On Thu, Sep 10, 2020 at 10:10:32PM +0800, Shengjiu Wang wrote: > ak4458 can't support DSD512 format, but ak4497 can, so add > a new variable in ak4458_drvdata to distinguish these two > platform. > In hw_params(), calculate bit clock according to different DSD > format and configure DSD register.

[PATCH] ASoC: ak4458: Add DSD support for ak4458 and ak4497

2020-09-10 Thread Shengjiu Wang
ak4458 can't support DSD512 format, but ak4497 can, so add a new variable in ak4458_drvdata to distinguish these two platform. In hw_params(), calculate bit clock according to different DSD format and configure DSD register. Signed-off-by: Shengjiu Wang --- sound/soc/codecs/ak4458.c | 82 ++