Re: [PATCH] ASoC: codecs: Add missing control_type initialization

From: Mark Brown
Date: Tue Dec 28 2010 - 18:34:08 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/