Skip to content

Commit

Permalink
ASOC: Intel: bxt_pcm512x: fix warnings w/ set_format
Browse files Browse the repository at this point in the history
Reported by Sparse

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Jan 11, 2019
1 parent 6f78d57 commit 84d0af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/boards/bxt_pcm512x.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static int codec_fixup(struct snd_soc_pcm_runtime *rtd,

/* set SSP5 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;
}
Expand Down

0 comments on commit 84d0af0

Please sign in to comment.