]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hdspm - Introduce hdspm_is_raydat_or_aio()
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 5 Jul 2013 09:27:54 +0000 (11:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2013 12:50:11 +0000 (14:50 +0200)
commitb2ed6326874b1bf5410871d83df4086a395ab13b
treedde1017017587fd9df4874ba5c1bdb7a26fd60a9
parent384f778fd924cc843acf93c23f52cb168cb3f02a
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 <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c