Re: [PATCH] ASoC: simple_card_utils: fix fallback when "label" property isn't present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lucas

> snd_soc_of_parse_card_name() doesn't return an error if the requested
> property isn't present, but silently fails to fill the card name. This can
> not be changed, as it is a backwards compatibility measure itself.
> 
> We can not rely on the return value of this function alone, but must check
> if the card name has been filled sucessfully when deciding to skip the
> fallback path, which is in place for existing users.
> 
> Fixes: dedfaa1eedc7 (ASoC: simple-card-utils: enable "label" on
>                      asoc_simple_card_parse_card_name)
> Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> ---
> This may be applied instead of the revert I just sent. After examining the
> function more closely, the fix seems easy enough to go into 4.13 final.

Yes, indeed.
Thanks

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>


Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux