commit | 49d9e43f36fd4b71a4c1888f86c09cf73be73d0b | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Feb 06 17:39:45 2020 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Feb 10 08:28:12 2020 +0100 |
tree | 057a2c241b7dd914fb85ed87689165737e6e1a94 | |
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>