Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Calculate BCLK using TDM slots and remove channels rule
@ 2015-04-20 13:58 Jyri Sarha
  2015-04-20 13:58 ` [PATCH 1/2] ASoC: davinci-mcasp: " Jyri Sarha
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jyri Sarha @ 2015-04-20 13:58 UTC (permalink / raw)
  To: alsa-devel
  Cc: peter.ujfalusi, Jyri Sarha, liam.r.girdwood, broonie,
	misael.lopez, dan.carpenter

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-22  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 13:58 [PATCH 0/2] Calculate BCLK using TDM slots and remove channels rule Jyri Sarha
2015-04-20 13:58 ` [PATCH 1/2] ASoC: davinci-mcasp: " Jyri Sarha
2015-04-20 13:58 ` [PATCH 2/2] ASoC: davinci-macsp: Optimize implicit BLCK sample-rate rule Jyri Sarha
2015-04-21  6:30 ` [PATCH 0/2] Calculate BCLK using TDM slots and remove channels rule Peter Ujfalusi
2015-04-22  7:44 ` Jyri Sarha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox