diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-02-06 17:39:45 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-02-10 08:28:12 +0100 |
commit | 49d9e43f36fd4b71a4c1888f86c09cf73be73d0b (patch) | |
tree | 057a2c241b7dd914fb85ed87689165737e6e1a94 /kernel | |
parent | ALSA: pcm_dmaengine: Use pcm_for_each_format() macro for PCM format iteration (diff) | |
download | wireguard-linux-49d9e43f36fd4b71a4c1888f86c09cf73be73d0b.tar.xz wireguard-linux-49d9e43f36fd4b71a4c1888f86c09cf73be73d0b.zip |
ALSA: pcm: Minor refactoring
Make a common helper for validating the format type.
This reduces the number of cast in the code that are needed for
suppressing sparse warnings.
No functional changes, just minor refactoring.
Link: https://lore.kernel.org/r/20200206163945.6797-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions