Merge tag 'asoc-fix-v5.19-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git...
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Jun 2022 12:11:38 +0000 (14:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jun 2022 12:11:38 +0000 (14:11 +0200)
ASoC: Fixes for v5.19

A few more fixes for v5.19 which came in during the second half of the
merge window, again nothing that's really remarkable outside of the
individual drivers.

1  2 
sound/soc/codecs/wm_adsp.c

@@@ -97,13 -97,13 +97,13 @@@ struct wm_adsp_system_config_xm_hdr 
        __be32 wdma[8];
        __be32 build_job_name[3];
        __be32 build_job_number;
 -};
 +} __packed;
  
  struct wm_halo_system_config_xm_hdr {
        __be32 halo_heartbeat;
        __be32 build_job_name[3];
        __be32 build_job_number;
 -};
 +} __packed;
  
  struct wm_adsp_alg_xm_struct {
        __be32 magic;
        __be32 high_water_mark;
        __be32 low_water_mark;
        __be64 smoothed_power;
 -};
 +} __packed;
  
  struct wm_adsp_host_buf_coeff_v1 {
        __be32 host_buf_ptr;            /* Host buffer pointer */
        __be32 versions;                /* Version numbers */
        __be32 name[4];                 /* The buffer name */
 -};
 +} __packed;
  
  struct wm_adsp_buffer {
        __be32 buf1_base;               /* Base addr of first buffer area */
        __be32 min_free;                /* min free space since stream start */
        __be32 blocks_written[2];       /* total blocks written (64 bit) */
        __be32 words_written[2];        /* total words written (64 bit) */
 -};
 +} __packed;
  
  struct wm_adsp_compr;
  
@@@ -333,7 -333,7 +333,7 @@@ int wm_adsp_fw_put(struct snd_kcontrol 
        struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
        struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
        struct wm_adsp *dsp = snd_soc_component_get_drvdata(component);
-       int ret = 0;
+       int ret = 1;
  
        if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw)
                return 0;