[alsa-devel] [PATCH 7/16] ALSA: VIA HDA: Modify notify_aa_path_ctls() function

Jaroslav Kysela perex at perex.cz
Mon Mar 21 08:32:43 CET 2011


On Mon, 21 Mar 2011, Lydia Wang wrote:

> From: Lydia Wang <lydiawang at viatech.com.cn>
> Subject: ALSA: VIA HDA: Modify notify_aa_path_ctls() function.
>
> Modify notify_aa_path_ctls() function to get volume control items name
> dynamically instead of by giving static item name.

This code looks ugly to me. If you like to have a dynamic set of notified 
controls, create one using snd_array in via_spec.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list