[PATCH] bios: hdaaudio: fix user pin configurations (user_pin_configs) is not checked.

Keng-Yu Lin kengyu at canonical.com
Wed Oct 17 08:17:22 UTC 2012


On Mon, Oct 15, 2012 at 4:21 PM, Alex Hung <alex.hung at canonical.com> wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/bios/hdaaudio/hdaaudio.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bios/hdaaudio/hdaaudio.c b/src/bios/hdaaudio/hdaaudio.c
> index 764e18e..c8fd61c 100644
> --- a/src/bios/hdaaudio/hdaaudio.c
> +++ b/src/bios/hdaaudio/hdaaudio.c
> @@ -123,7 +123,7 @@ static int hda_audio_check_pins(fwts_framework *fw, const char *path)
>
>         if (fwts_list_len(&user_pin_configs) > 0) {
>                 hda_audio_dump_pins(fw, "User defined pin configurations",
> -                       &driver_pin_configs);
> +                       &user_pin_configs);
>                 warn++;
>         }
>
> --
> 1.7.9.5
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list