summaryrefslogtreecommitdiffstats
path: root/Documentation/sound
diff options
context:
space:
mode:
authorTakashi Iwai2018-07-25 23:17:17 +0200
committerMark Brown2018-07-26 18:09:04 +0200
commit0b62834e73e332fea76a340d62aaf50c732b17e0 (patch)
tree8f8e42edeccc21bb9d02fd86ad3b6e8128c69b5d /Documentation/sound
parentMerge tag 'alsa-add-snd-sgbuf-aligned-pages' of https://git.kernel.org/pub/sc... (diff)
downloadkernel-qcow2-linux-0b62834e73e332fea76a340d62aaf50c732b17e0.tar.gz
kernel-qcow2-linux-0b62834e73e332fea76a340d62aaf50c732b17e0.tar.xz
kernel-qcow2-linux-0b62834e73e332fea76a340d62aaf50c732b17e0.zip
ALSA: pcm: Add snd_mask_set_format() helper for standard usages
Many drivers calling snd_mask_set() need to do ugly cast with __force for shutting up the sparse warnings. Actually almost all of them are about setting the format, so it's far better to provide a common helper snd_mask_set_format() to pass SNDRV_PCM_FORMAT_* directly without the cast. There are a few other calls of snd_mask_set(), but they are in the PCM core code, so we leave them for now. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/sound')
0 files changed, 0 insertions, 0 deletions