[pulseaudio-discuss] [PATCH] ucm: Fix an incorrect log message

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Jul 15 07:09:48 PDT 2013


On Thu, 2013-06-27 at 19:19 +0300, Tanu Kaskinen wrote:
> The log message didn't match the code, so one of them was wrong. It's
> entirely possible that the code is wrong, but I didn't have the
> motivation to study the code enough to understand what the code is
> supposed to do.
> ---
>  src/modules/alsa/alsa-ucm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
> index bc2ea9b..93220ac 100644
> --- a/src/modules/alsa/alsa-ucm.c
> +++ b/src/modules/alsa/alsa-ucm.c
> @@ -712,7 +712,7 @@ static void ucm_add_port_combination(
>      pa_log_debug("Port %s direction %s, priority %d", port->name, direction, priority);
>  
>      if (cp) {
> -        pa_log_debug("Adding port %s to profile %s", port->name, cp->name);
> +        pa_log_debug("Adding profile %s to port %s.", cp->name, port->name);
>          pa_hashmap_put(port->profiles, cp->name, cp);
>      }

No feedback received, I now pushed this patch.

-- 
Tanu



More information about the pulseaudio-discuss mailing list