lkml.org 
[lkml]   [2019]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: rsnd: fix DALIGN register for SSIU
Hello Morimoto-san,

On Tue, Nov 19, 2019 at 09:46:12AM +0900, Kuninori Morimoto wrote:

[..]

> Basically I have no objection.
> But we can reuse dalign_values[0][x] value ?
>
> id = 0;
> if ((snd_pcm_format_width(runtime->format) != 16) ||
> (mod != target)) {
> inv = 0;
> if (mod == ssiu))
> id = rsnd_mod_id_sub(mod);
> /* Target mod needs inverted DALIGN when 16bit */
> } else {
> inv = 1;
> if (mod == ssiu)
> id = rsnd_mod_id_sub(mod);
> }
>
> return dalign_values[id][inv];

Thank you for your review comment.
We will soon push a v2.

--
Best Regards,
Eugeniu

\
 
 \ /
  Last update: 2019-11-19 11:43    [W:0.543 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site