summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/glk_rt5682_max98357a.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart2018-12-16 23:49:10 +0100
committerMark Brown2019-01-03 17:34:13 +0100
commit4e88068ed0888549acd1cbb2f6e271b007051203 (patch)
tree7d0700cacb8b8ea59052623b5e4f37da40414cf0 /sound/soc/intel/boards/glk_rt5682_max98357a.c
parentASoC: Intel: Atom: simplify boolean tests (diff)
downloadkernel-qcow2-linux-4e88068ed0888549acd1cbb2f6e271b007051203.tar.gz
kernel-qcow2-linux-4e88068ed0888549acd1cbb2f6e271b007051203.tar.xz
kernel-qcow2-linux-4e88068ed0888549acd1cbb2f6e271b007051203.zip
ASoC: Intel: boards: use snd_mask_set_format in all machine drivers
Fix Sparse warnings with two machine drivers which weren't updated Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/glk_rt5682_max98357a.c')
-rw-r--r--sound/soc/intel/boards/glk_rt5682_max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/glk_rt5682_max98357a.c b/sound/soc/intel/boards/glk_rt5682_max98357a.c
index c74c4f17316f..0739e3a75083 100644
--- a/sound/soc/intel/boards/glk_rt5682_max98357a.c
+++ b/sound/soc/intel/boards/glk_rt5682_max98357a.c
@@ -164,7 +164,7 @@ static int geminilake_ssp_fixup(struct snd_soc_pcm_runtime *rtd,
/* set SSP to 24 bit */
snd_mask_none(fmt);
- snd_mask_set(fmt, SNDRV_PCM_FORMAT_S24_LE);
+ snd_mask_set_format(fmt, SNDRV_PCM_FORMAT_S24_LE);
return 0;
}