Merge tag 'asoc-fix-v5.4-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
authorTakashi Iwai <tiwai@suse.de>
Mon, 21 Oct 2019 12:05:26 +0000 (14:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Oct 2019 12:05:26 +0000 (14:05 +0200)
ASoC: Fixes for v5.4

A collection of fixes that have arrived since the merge window.  There
are a small number of core fixes here but they are smaller ones around
error handling.

1  2 
sound/soc/soc-topology.c

diff --combined sound/soc/soc-topology.c
index aa9a1fca46fa7832271ff0d3919959f94dfaa0a4,c25939c5611b917ee9462cc50a473a40d8e59291..0fd032914a318b39d46f89ac8af1435de11ebba1
@@@ -80,6 -80,12 +80,6 @@@ struct soc_tplg 
  
  static int soc_tplg_process_headers(struct soc_tplg *tplg);
  static void soc_tplg_complete(struct soc_tplg *tplg);
 -struct snd_soc_dapm_widget *
 -snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
 -                       const struct snd_soc_dapm_widget *widget);
 -struct snd_soc_dapm_widget *
 -snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
 -                       const struct snd_soc_dapm_widget *widget);
  static void soc_tplg_denum_remove_texts(struct soc_enum *se);
  static void soc_tplg_denum_remove_values(struct soc_enum *se);
  
@@@ -1582,7 -1588,7 +1582,7 @@@ static int soc_tplg_dapm_widget_create(
  
        /* map user to kernel widget ID */
        template.id = get_widget_id(le32_to_cpu(w->id));
-       if (template.id < 0)
+       if ((int)template.id < 0)
                return template.id;
  
        /* strings are allocated here, but used and freed by the widget */