diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:17:19 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-07-26 17:09:06 +0100 |
| commit | b5453e8ca311fdb6003c6583ad101d2b9131b994 (patch) | |
| tree | 3a48b22ee89e5ee3bc7870ca4a89decd6e5d7ff6 /tools/perf/scripts/python/bin | |
| parent | ASoC: doc: Replace open code with params_set_format() (diff) | |
| download | linux-b5453e8ca311fdb6003c6583ad101d2b9131b994.tar.gz linux-b5453e8ca311fdb6003c6583ad101d2b9131b994.zip | |
ASoC: intel: Fix snd_pcm_format_t handling
As sparse warns, the PCM format type can't be dealt as integer as
found in Intel SST driver codes.
Fix them in the following two ways:
- The open code with snd_mask_set() and params->masks reference is
replaced with params_set_format()
- The rest codes with snd_mask_set(fmt, SNDRV_PCM_FORMAT_XXX) are
replaced with the new helper, snd_mask_set_format().
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
