[alsa-devel] [PATCHv2] alsa-lib: ucm: allow values to be read from devices

Takashi Iwai tiwai at suse.de
Fri Mar 18 17:47:38 CET 2011


At Fri, 18 Mar 2011 10:39:00 -0600,
Margarita Olaya wrote:
> 
> This allows devices value to be read using the get_value().
> Also fix a little formatting.
> 
> Signed-off-by: Margarita Olaya Cabrera <magi at slimlogic.co.uk>
> Acked-by: Liam Girdwood <lrg at ti.com>
> ---
>  src/ucm/main.c |   21 ++++++++++++++-------
>  1 files changed, 14 insertions(+), 7 deletions(-)
> 
> diff --git a/src/ucm/main.c b/src/ucm/main.c
> index 42fd373..0393601 100644
> --- a/src/ucm/main.c
> +++ b/src/ucm/main.c
> @@ -1059,24 +1059,31 @@ static int get_value3(const char **value,
>   * \param uc_mgr Use case manager
>   * \param identifier Value identifier (string)
>   * \param value Returned value string
> - * \param modifier modifier name (string)
> + * \param item item name (string)

"item name" is too vague to understand what it means.
It's either modifier or device name string, thus it can be written so.


thanks,

Takashi


More information about the Alsa-devel mailing list