[alsa-devel] [PATCH 7/8] ASoC: Add SPI support for WM8731

Mark Brown broonie at sirena.org.uk
Mon Sep 8 22:51:06 CEST 2008


On Mon, Sep 08, 2008 at 09:27:13PM +0100, Alan Horstmann wrote:

> Attached and here inline is the small change we applied to ensure the byte 
> order is correct in the _spi_write function.  Note we observed the spi bus 

I take it you're happy to give this your Signed-off-by?

> With just this one change we have been successful in running the codec over 
> spi.  At present we do have an issue with dapm during capture -nothing is 
> being turned on!  Any pointers would be appreciated.

If you define DEBUG when building soc-dapm.c (a define at the top of the
source file will do the trick) then it will be very verbose about the
decisions it's making - that will normally point out the problem.
Probably either one of the input controls is not configured to make a
path from the input pins to the ADC or the input has been mistakenly
marked as disabled.

Otherwise if you post the machine driver and the kernel output with
DEBUG enabled someone might be able to spot something.


More information about the Alsa-devel mailing list