ALSA: hdspm - Introduce hdspm_is_raydat_or_aio()
ALSA: hdspm - Introduce hdspm_is_raydat_or_aio()

RME RayDAT and AIO cards are new designs with different register
settings. Since we need to distinguish them from older cards multiple
times in the driver, refactor the code into a separate helper function.

No functional change intended.

Signed-off-by: Adrian Knoth <b3e8ff7ac1c7e75661e16152a5dce1ff36a3e140@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <4596b3305151c7ee743192a95d394341e3d3b644@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs