[alsa-devel] ASoC: codec registers with more than 16 bits.

Daniel Ribeiro drwyrm at gmail.com
Thu Jul 17 03:05:21 CEST 2008

Hello alsa experts,

	I am working on a ASoC codec driver for the Motorola PCAP2
ASIC for the OpenEZX project, and i am having some trouble...

	PCAP2 has 25 bits registers, I access these registers via
32 bits SPI writes/reads, but soc-core/soc-dapm expects codec
registers values to fit on 'unsigned short' vars.

	Is there any reason to this limit? I am currently faking
the registers to always fit 16 bits, but this looks ugly.

	Would a patch to soc-core/dapm to extend this limit to
32 bits registers be accepted?


Daniel Ribeiro

More information about the Alsa-devel mailing list