aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/juli.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ice1712/juli.c')
-rw-r--r--sound/pci/ice1712/juli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ice1712/juli.c b/sound/pci/ice1712/juli.c
index 4789e8bfdc17..4bed9633a4cd 100644
--- a/sound/pci/ice1712/juli.c
+++ b/sound/pci/ice1712/juli.c
@@ -529,13 +529,14 @@ static inline unsigned char juli_set_mclk(struct snd_ice1712 *ice,
529} 529}
530 530
531/* setting clock to external - SPDIF */ 531/* setting clock to external - SPDIF */
532static void juli_set_spdif_clock(struct snd_ice1712 *ice) 532static int juli_set_spdif_clock(struct snd_ice1712 *ice, int type)
533{ 533{
534 unsigned int old; 534 unsigned int old;
535 old = ice->gpio.get_data(ice); 535 old = ice->gpio.get_data(ice);
536 /* external clock (= 0), multiply 1x, 48kHz */ 536 /* external clock (= 0), multiply 1x, 48kHz */
537 ice->gpio.set_data(ice, (old & ~GPIO_RATE_MASK) | GPIO_MULTI_1X | 537 ice->gpio.set_data(ice, (old & ~GPIO_RATE_MASK) | GPIO_MULTI_1X |
538 GPIO_FREQ_48KHZ); 538 GPIO_FREQ_48KHZ);
539 return 0;
539} 540}
540 541
541/* Called when ak4114 detects change in the input SPDIF stream */ 542/* Called when ak4114 detects change in the input SPDIF stream */