aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2013-07-05 05:28:06 -0400
committerTakashi Iwai <tiwai@suse.de>2013-07-05 08:51:37 -0400
commite71b95ad71e3ee44ec634e242b186e3ff03bd459 (patch)
treeae51f318f2850bfbccb59fe400fbd3738bdfc9bb /sound/pci/rme9652
parentb0bf550476a5a6238baf1309ba913ca9f7a379ba (diff)
ALSA: hdspm - Cosmetics, no real change
This patch does nothing, it's sole intent is to clean up the code. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r--sound/pci/rme9652/hdspm.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index bdd8c7742a1f..d95100e7bd22 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -2926,7 +2926,7 @@ static int hdspm_autosync_ref(struct hdspm *hdspm)
2926 case HDSPM_SelSyncRef_NVALID: 2926 case HDSPM_SelSyncRef_NVALID:
2927 return HDSPM_AUTOSYNC_FROM_NONE; 2927 return HDSPM_AUTOSYNC_FROM_NONE;
2928 default: 2928 default:
2929 return 0; 2929 return HDSPM_AUTOSYNC_FROM_NONE;
2930 } 2930 }
2931 2931
2932 } 2932 }
@@ -5260,7 +5260,7 @@ static int snd_hdspm_set_defaults(struct hdspm * hdspm)
5260 5260
5261 case AES32: 5261 case AES32:
5262 hdspm->control_register = 5262 hdspm->control_register =
5263 HDSPM_ClockModeMaster | /* Master Cloack Mode on */ 5263 HDSPM_ClockModeMaster | /* Master Clock Mode on */
5264 hdspm_encode_latency(7) | /* latency max=8192samples */ 5264 hdspm_encode_latency(7) | /* latency max=8192samples */
5265 HDSPM_SyncRef0 | /* AES1 is syncclock */ 5265 HDSPM_SyncRef0 | /* AES1 is syncclock */
5266 HDSPM_LineOut | /* Analog output in */ 5266 HDSPM_LineOut | /* Analog output in */
@@ -6737,7 +6737,7 @@ static int snd_hdspm_create(struct snd_card *card,
6737 if (NULL != hdspm->tco) { 6737 if (NULL != hdspm->tco) {
6738 hdspm_tco_write(hdspm); 6738 hdspm_tco_write(hdspm);
6739 } 6739 }
6740 snd_printk(KERN_INFO "HDSPM: MADI TCO module found\n"); 6740 snd_printk(KERN_INFO "HDSPM: MADI/AES TCO module found\n");
6741 } else { 6741 } else {
6742 hdspm->tco = NULL; 6742 hdspm->tco = NULL;
6743 } 6743 }
@@ -6752,10 +6752,12 @@ static int snd_hdspm_create(struct snd_card *card,
6752 case AES32: 6752 case AES32:
6753 if (hdspm->tco) { 6753 if (hdspm->tco) {
6754 hdspm->texts_autosync = texts_autosync_aes_tco; 6754 hdspm->texts_autosync = texts_autosync_aes_tco;
6755 hdspm->texts_autosync_items = 10; 6755 hdspm->texts_autosync_items =
6756 ARRAY_SIZE(texts_autosync_aes_tco);
6756 } else { 6757 } else {
6757 hdspm->texts_autosync = texts_autosync_aes; 6758 hdspm->texts_autosync = texts_autosync_aes;
6758 hdspm->texts_autosync_items = 9; 6759 hdspm->texts_autosync_items =
6760 ARRAY_SIZE(texts_autosync_aes);
6759 } 6761 }
6760 break; 6762 break;
6761 6763