kernel-fxtec-pro1x/sound/pci
Adrian Knoth d1a3c98d50 ALSA: hdspm - Fix sync check reporting on RME RayDAT
The RayDAT reports the sync status of its inputs in consecutive bit
positions, so all we do in hdspm_s1_sync_check is to iterate over idx:

    status = hdspm_read(hdspm, HDSPM_RD_STATUS_1);

    lock = (status & (0x1<<idx)) ? 1 : 0;
    sync = (status & (0x100<<idx)) ? 1 : 0;

The index is given in kcontrol->private_value:

    HDSPM_SYNC_CHECK("WC SyncCheck", 0),
    HDSPM_SYNC_CHECK("AES SyncCheck", 1),
    HDSPM_SYNC_CHECK("SPDIF SyncCheck", 2),
    HDSPM_SYNC_CHECK("ADAT1 SyncCheck", 3),
    HDSPM_SYNC_CHECK("ADAT2 SyncCheck", 4),
    HDSPM_SYNC_CHECK("ADAT3 SyncCheck", 5),
    HDSPM_SYNC_CHECK("ADAT4 SyncCheck", 6),
    HDSPM_SYNC_CHECK("TCO SyncCheck", 7),
    HDSPM_SYNC_CHECK("SYNC IN SyncCheck", 8),

The patch corrects the indicated sync flags by passing the proper index
value to hdspm_s1_sync_check().

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-07 19:55:22 +01:00
..
ac97 ALSA: ac97 - Fix missing NULL check in snd_ac97_cvol_new() 2012-10-15 09:55:48 +02:00
ali5451 ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
asihpi sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
au88x0 sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
aw2 ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
ca0106 ALSA: ca0106: Define channel maps 2012-09-12 15:52:09 +02:00
cs46xx Merge branch 'for-linus' into for-next 2012-08-20 22:14:26 +02:00
cs5535audio ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ctxfi ALSA: Define more channel map positions 2012-09-12 18:13:03 +02:00
echoaudio ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
emu10k1 ALSA: emu10k1: add chip details for E-mu 1010 PCIe card 2012-10-17 18:18:10 +02:00
hda ALSA: hda - Add pin fixups for ASUS G75 2012-11-07 14:42:05 +01:00
ice1712 ALSA: ice1724: Fix rate setup after resume 2012-10-31 07:41:42 +01:00
korg1212 ALSA: korg1212: Fix reverted min/max ADC sense range 2012-08-30 07:57:38 -07:00
lola ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
lx6464es ALSA: lx6464es: Add a missing error check 2012-08-14 17:42:11 +02:00
mixart sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
nm256 ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
oxygen Sound updates for 3.7-rc1 2012-10-09 07:07:14 +09:00
pcxhr ALSA: pcxhr: Add 8 new sound cards 2012-08-27 16:10:29 +02:00
riptide ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
rme9652 ALSA: hdspm - Fix sync check reporting on RME RayDAT 2012-11-07 19:55:22 +01:00
trident ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
vx222 ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
ymfpci ALSA: Fix leftover chmap UNKNOWN -> MONO conversions 2012-09-13 14:48:46 +02:00
ad1889.c ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
ad1889.h
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c ALSA: als3000: check for the kzalloc return value 2012-10-22 16:31:40 +02:00
als4000.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
atiixp.c ALSA: Implement channel maps for standard onboard AC97 drivers 2012-09-06 18:08:31 +02:00
atiixp_modem.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
azt3328.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
cmipci.c ALSA: cmipci: Implement channel mapping 2012-09-06 18:08:32 +02:00
cs4281.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
cs5530.c ALSA: cs5530: Fix resource leak in error path 2012-08-30 13:21:00 -07:00
ens1370.c ALSA: Fix leftover chmap UNKNOWN -> MONO conversions 2012-09-13 14:48:46 +02:00
ens1371.c
es1938.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
es1968.c ALSA: es1968: Add ESS vendor ID to pm_whitelist 2012-11-05 12:32:35 +01:00
fm801.c ALSA: Implement channel maps for standard onboard AC97 drivers 2012-09-06 18:08:31 +02:00
intel8x0.c sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
intel8x0m.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
Kconfig [media] media/radio/shark2: Fix build error caused by missing dependencies 2012-10-01 14:56:36 -03:00
maestro3.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
rme32.c ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
rme96.c ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
sis7019.c Merge branch 'for-linus' into for-next 2012-08-20 22:14:26 +02:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c ALSA: pci: clean up using module_pci_driver() 2012-04-24 12:25:00 +02:00
via82xx.c ALSA: Implement channel maps for standard onboard AC97 drivers 2012-09-06 18:08:31 +02:00
via82xx_modem.c ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP 2012-08-14 18:12:04 +02:00