Skip to content

Commit

Permalink
ASoC: bcm2835: move to use the clock framework
Browse files Browse the repository at this point in the history
Since the move to the new clock framework with commit 94cb7f7
("ARM: bcm2835: Switch to using the new clock driver support.")
this driver was no longer functional as it was manipulating the
clock registers locally without going true the framework.

This patch moves to use the new clock framework and also
moves away from the hardcoded address offsets for DMA getting
the dma-address directly from the device tree.

Note that the optimal bclk_ratio selection to avoid jitter
due to the use of fractional dividers, which is in the
current version has been removed, because not all devices
support these non power of 2 sized transfers, which resulted
in lots of (downstream) modules that use:
  snd_soc_dai_set_bclk_ratio(cpu_dai, sample_bits * 2);

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
msperl authored and broonie committed Jan 15, 2016
1 parent 7905f08 commit 517e7a1
Showing 1 changed file with 64 additions and 220 deletions.
Loading

0 comments on commit 517e7a1

Please sign in to comment.