[alsa-devel] [PATCH] ASoC: codecs: Add missing control_type initialization

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Dec 29 00:34:04 CET 2010

On Tue, Dec 28, 2010 at 09:08:57PM +0100, Lars-Peter Clausen wrote:
> Some codec drivers do not initialize the control_type field in their private
> device struct, but still use it when calling snd_soc_codec_set_cache_io.
> This patch fixes the issue by properly initializing it in the drivers probe
> functions.

Applied for 2.6.37.  Some of the drivers could skip this as the hardware
only supports one bus but it doesn't really matter for the fix.

More information about the Alsa-devel mailing list