[alsa-devel] [PATCH 0/2] Calculate BCLK using TDM slots and remove channels rule

Jyri Sarha jsarha at ti.com
Wed Apr 22 09:44:11 CEST 2015


There still something fishy with multi channel multi serializer case, so 
please don't take these patches yet.

Best regards,
Jyri

On 04/20/15 16:58, Jyri Sarha wrote:
> The first patch is a bugfix. I did not have the HW see the problem
> myself, but reading from the code the problem is evident. This should
> also fix Dan Carpenter's concern about stack usage in
> davinci_mcasp_hw_rule_channels(), as the whole function is removed.
>
> The second patch is just an optimization of the sample-rate rule. In
> effect I put in use Takashi Iwai's suggestion for fixing the stack
> usage issue in the channels rule.
>
> Jyri Sarha (2):
>    ASoC: davinci-mcasp: Calculate BCLK using TDM slots and remove
>      channels rule
>    ASoC: davinci-macsp: Optimize implicit BLCK sample-rate rule
>
>   sound/soc/davinci/davinci-mcasp.c | 104 ++++++++++----------------------------
>   1 file changed, 27 insertions(+), 77 deletions(-)
>



More information about the Alsa-devel mailing list