[alsa-devel] [PATCH] ucm: Handle repeat device and modifier enables/disables

Liam Girdwood lrg at ti.com
Wed May 23 15:27:24 CEST 2012

On Wed, 2012-05-23 at 18:16 +0530, Arun Raghavan wrote:
> [Re-re-send with appropriate CC list. Sorry about the spam!]
> Currently, enabling a device twice can cause it to be added to
> snd_use_case_mgr_t->active_devices twice, causing the list to become a
> loop and subsequent uses to result in an infinite loop.
> This patch makes sure we don't enable/disable a device twice, and avoid
> doing the same for modifiers.
> Signed-off-by: Arun Raghavan <arun.raghavan at collabora.co.uk>

Acked-by: Liam Girdwood <lrg at ti.com>

More information about the Alsa-devel mailing list