[alsa-devel] [PATCH] ASoC: wm8960: Support shared LRCLK

Timur Tabi timur at freescale.com
Fri Sep 14 00:33:16 CEST 2012


Timur Tabi wrote:
>> > +		ret = regmap_update_bits(wm8960->regmap, WM8960_ADDCTL2,
>> > +					 0x4, 0x4);
> This is not enough to get the codec working on my board.
> 
> What is the actual mechanism that enables the clock on the WM8960?  I
> don't have an oscilloscope, not it's hard to tell what the hardware is
> actually doing.  However, I suspect that the LRCLK is not running.

Never mind, it works now.  I understand that the DAPM controls need to be
enabled for the clocks to actually run, as described here:

http://www.alsa-project.org/main/index.php/DAPM#When_things_don.27t_work

On the #alsa-soc, I was told that I could force on the control in my
machine driver.  Specifically, I was told this:

	"in your board file you can always make an always on output in the DAPM map"

Can you tell me how to do this?  Is there an example?  I don't want to
have to rely on user-space configuration to get playback to work.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Alsa-devel mailing list