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 /fs | |
parent | 89e0b9a060febbf85b985d2f3aa6afea3473276e (diff) |
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 'fs')
0 files changed, 0 insertions, 0 deletions