diff options
-rw-r--r-- | sound/pci/echoaudio/darla20_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/darla24_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/echo3g_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/echoaudio.c | 31 | ||||
-rw-r--r-- | sound/pci/echoaudio/echoaudio_3g.c | 5 | ||||
-rw-r--r-- | sound/pci/echoaudio/echoaudio_dsp.c | 12 | ||||
-rw-r--r-- | sound/pci/echoaudio/gina20_dsp.c | 6 | ||||
-rw-r--r-- | sound/pci/echoaudio/gina24_dsp.c | 9 | ||||
-rw-r--r-- | sound/pci/echoaudio/indigo_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/indigodj_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/indigodjx_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/indigoio_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/indigoiox_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/layla20_dsp.c | 9 | ||||
-rw-r--r-- | sound/pci/echoaudio/layla24_dsp.c | 8 | ||||
-rw-r--r-- | sound/pci/echoaudio/mia_dsp.c | 2 | ||||
-rw-r--r-- | sound/pci/echoaudio/midi.c | 6 | ||||
-rw-r--r-- | sound/pci/echoaudio/mona_dsp.c | 6 |
18 files changed, 0 insertions, 110 deletions
diff --git a/sound/pci/echoaudio/darla20_dsp.c b/sound/pci/echoaudio/darla20_dsp.c index c94e92e31ae6..febee5bda877 100644 --- a/sound/pci/echoaudio/darla20_dsp.c +++ b/sound/pci/echoaudio/darla20_dsp.c | |||
@@ -33,7 +33,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
33 | { | 33 | { |
34 | int err; | 34 | int err; |
35 | 35 | ||
36 | dev_dbg(chip->card->dev, "init_hw() - Darla20\n"); | ||
37 | if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA20)) | 36 | if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA20)) |
38 | return -ENODEV; | 37 | return -ENODEV; |
39 | 38 | ||
@@ -58,7 +57,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
58 | return err; | 57 | return err; |
59 | chip->bad_board = FALSE; | 58 | chip->bad_board = FALSE; |
60 | 59 | ||
61 | dev_dbg(chip->card->dev, "init_hw: done\n"); | ||
62 | return err; | 60 | return err; |
63 | } | 61 | } |
64 | 62 | ||
diff --git a/sound/pci/echoaudio/darla24_dsp.c b/sound/pci/echoaudio/darla24_dsp.c index b1272f88d59d..7b4f6fd51b09 100644 --- a/sound/pci/echoaudio/darla24_dsp.c +++ b/sound/pci/echoaudio/darla24_dsp.c | |||
@@ -33,7 +33,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
33 | { | 33 | { |
34 | int err; | 34 | int err; |
35 | 35 | ||
36 | dev_dbg(chip->card->dev, "init_hw() - Darla24\n"); | ||
37 | if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA24)) | 36 | if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA24)) |
38 | return -ENODEV; | 37 | return -ENODEV; |
39 | 38 | ||
@@ -57,7 +56,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
57 | return err; | 56 | return err; |
58 | chip->bad_board = FALSE; | 57 | chip->bad_board = FALSE; |
59 | 58 | ||
60 | dev_dbg(chip->card->dev, "init_hw: done\n"); | ||
61 | return err; | 59 | return err; |
62 | } | 60 | } |
63 | 61 | ||
diff --git a/sound/pci/echoaudio/echo3g_dsp.c b/sound/pci/echoaudio/echo3g_dsp.c index bc3716895fc8..ae11ce11b1c2 100644 --- a/sound/pci/echoaudio/echo3g_dsp.c +++ b/sound/pci/echoaudio/echo3g_dsp.c | |||
@@ -46,7 +46,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
46 | int err; | 46 | int err; |
47 | 47 | ||
48 | local_irq_enable(); | 48 | local_irq_enable(); |
49 | dev_dbg(chip->card->dev, "init_hw() - Echo3G\n"); | ||
50 | if (snd_BUG_ON((subdevice_id & 0xfff0) != ECHO3G)) | 49 | if (snd_BUG_ON((subdevice_id & 0xfff0) != ECHO3G)) |
51 | return -ENODEV; | 50 | return -ENODEV; |
52 | 51 | ||
@@ -99,7 +98,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
99 | ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_OPTICAL | | 98 | ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_OPTICAL | |
100 | ECHOCAPS_HAS_DIGITAL_MODE_ADAT; | 99 | ECHOCAPS_HAS_DIGITAL_MODE_ADAT; |
101 | 100 | ||
102 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
103 | return err; | 101 | return err; |
104 | } | 102 | } |
105 | 103 | ||
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index 1ef29e5b53a7..60e40034b991 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c | |||
@@ -79,7 +79,6 @@ static void free_firmware(const struct firmware *fw_entry, | |||
79 | dev_dbg(chip->card->dev, "firmware not released (kept in cache)\n"); | 79 | dev_dbg(chip->card->dev, "firmware not released (kept in cache)\n"); |
80 | #else | 80 | #else |
81 | release_firmware(fw_entry); | 81 | release_firmware(fw_entry); |
82 | dev_dbg(chip->card->dev, "firmware released\n"); | ||
83 | #endif | 82 | #endif |
84 | } | 83 | } |
85 | 84 | ||
@@ -96,7 +95,6 @@ static void free_firmware_cache(struct echoaudio *chip) | |||
96 | dev_dbg(chip->card->dev, "release_firmware(%d)\n", i); | 95 | dev_dbg(chip->card->dev, "release_firmware(%d)\n", i); |
97 | } | 96 | } |
98 | 97 | ||
99 | dev_dbg(chip->card->dev, "firmware_cache released\n"); | ||
100 | #endif | 98 | #endif |
101 | } | 99 | } |
102 | 100 | ||
@@ -354,7 +352,6 @@ static int pcm_analog_in_open(struct snd_pcm_substream *substream) | |||
354 | struct echoaudio *chip = snd_pcm_substream_chip(substream); | 352 | struct echoaudio *chip = snd_pcm_substream_chip(substream); |
355 | int err; | 353 | int err; |
356 | 354 | ||
357 | dev_dbg(chip->card->dev, "pcm_analog_in_open\n"); | ||
358 | if ((err = pcm_open(substream, num_analog_busses_in(chip) - | 355 | if ((err = pcm_open(substream, num_analog_busses_in(chip) - |
359 | substream->number)) < 0) | 356 | substream->number)) < 0) |
360 | return err; | 357 | return err; |
@@ -389,7 +386,6 @@ static int pcm_analog_out_open(struct snd_pcm_substream *substream) | |||
389 | #else | 386 | #else |
390 | max_channels = num_analog_busses_out(chip); | 387 | max_channels = num_analog_busses_out(chip); |
391 | #endif | 388 | #endif |
392 | dev_dbg(chip->card->dev, "pcm_analog_out_open\n"); | ||
393 | if ((err = pcm_open(substream, max_channels - substream->number)) < 0) | 389 | if ((err = pcm_open(substream, max_channels - substream->number)) < 0) |
394 | return err; | 390 | return err; |
395 | if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, | 391 | if ((err = snd_pcm_hw_rule_add(substream->runtime, 0, |
@@ -422,7 +418,6 @@ static int pcm_digital_in_open(struct snd_pcm_substream *substream) | |||
422 | struct echoaudio *chip = snd_pcm_substream_chip(substream); | 418 | struct echoaudio *chip = snd_pcm_substream_chip(substream); |
423 | int err, max_channels; | 419 | int err, max_channels; |
424 | 420 | ||
425 | dev_dbg(chip->card->dev, "pcm_digital_in_open\n"); | ||
426 | max_channels = num_digital_busses_in(chip) - substream->number; | 421 | max_channels = num_digital_busses_in(chip) - substream->number; |
427 | mutex_lock(&chip->mode_mutex); | 422 | mutex_lock(&chip->mode_mutex); |
428 | if (chip->digital_mode == DIGITAL_MODE_ADAT) | 423 | if (chip->digital_mode == DIGITAL_MODE_ADAT) |
@@ -464,7 +459,6 @@ static int pcm_digital_out_open(struct snd_pcm_substream *substream) | |||
464 | struct echoaudio *chip = snd_pcm_substream_chip(substream); | 459 | struct echoaudio *chip = snd_pcm_substream_chip(substream); |
465 | int err, max_channels; | 460 | int err, max_channels; |
466 | 461 | ||
467 | dev_dbg(chip->card->dev, "pcm_digital_out_open\n"); | ||
468 | max_channels = num_digital_busses_out(chip) - substream->number; | 462 | max_channels = num_digital_busses_out(chip) - substream->number; |
469 | mutex_lock(&chip->mode_mutex); | 463 | mutex_lock(&chip->mode_mutex); |
470 | if (chip->digital_mode == DIGITAL_MODE_ADAT) | 464 | if (chip->digital_mode == DIGITAL_MODE_ADAT) |
@@ -511,7 +505,6 @@ static int pcm_close(struct snd_pcm_substream *substream) | |||
511 | /* Nothing to do here. Audio is already off and pipe will be | 505 | /* Nothing to do here. Audio is already off and pipe will be |
512 | * freed by its callback | 506 | * freed by its callback |
513 | */ | 507 | */ |
514 | dev_dbg(chip->card->dev, "pcm_close\n"); | ||
515 | 508 | ||
516 | atomic_dec(&chip->opencount); | 509 | atomic_dec(&chip->opencount); |
517 | oc = atomic_read(&chip->opencount); | 510 | oc = atomic_read(&chip->opencount); |
@@ -620,7 +613,6 @@ static int init_engine(struct snd_pcm_substream *substream, | |||
620 | spin_lock_irq(&chip->lock); | 613 | spin_lock_irq(&chip->lock); |
621 | set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); | 614 | set_sample_rate(chip, hw_params->rate_num / hw_params->rate_den); |
622 | spin_unlock_irq(&chip->lock); | 615 | spin_unlock_irq(&chip->lock); |
623 | dev_dbg(chip->card->dev, "pcm_hw_params ok\n"); | ||
624 | return 0; | 616 | return 0; |
625 | } | 617 | } |
626 | 618 | ||
@@ -691,7 +683,6 @@ static int pcm_hw_free(struct snd_pcm_substream *substream) | |||
691 | } | 683 | } |
692 | spin_unlock_irq(&chip->lock); | 684 | spin_unlock_irq(&chip->lock); |
693 | 685 | ||
694 | dev_dbg(chip->card->dev, "pcm_hw_freed\n"); | ||
695 | snd_pcm_lib_free_pages(substream); | 686 | snd_pcm_lib_free_pages(substream); |
696 | return 0; | 687 | return 0; |
697 | } | 688 | } |
@@ -763,10 +754,8 @@ static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) | |||
763 | spin_lock(&chip->lock); | 754 | spin_lock(&chip->lock); |
764 | switch (cmd) { | 755 | switch (cmd) { |
765 | case SNDRV_PCM_TRIGGER_RESUME: | 756 | case SNDRV_PCM_TRIGGER_RESUME: |
766 | dev_dbg(chip->card->dev, "pcm_trigger resume\n"); | ||
767 | case SNDRV_PCM_TRIGGER_START: | 757 | case SNDRV_PCM_TRIGGER_START: |
768 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: | 758 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: |
769 | dev_dbg(chip->card->dev, "pcm_trigger start\n"); | ||
770 | for (i = 0; i < DSP_MAXPIPES; i++) { | 759 | for (i = 0; i < DSP_MAXPIPES; i++) { |
771 | if (channelmask & (1 << i)) { | 760 | if (channelmask & (1 << i)) { |
772 | pipe = chip->substream[i]->runtime->private_data; | 761 | pipe = chip->substream[i]->runtime->private_data; |
@@ -788,9 +777,7 @@ static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) | |||
788 | chip->pipe_cyclic_mask); | 777 | chip->pipe_cyclic_mask); |
789 | break; | 778 | break; |
790 | case SNDRV_PCM_TRIGGER_SUSPEND: | 779 | case SNDRV_PCM_TRIGGER_SUSPEND: |
791 | dev_dbg(chip->card->dev, "pcm_trigger suspend\n"); | ||
792 | case SNDRV_PCM_TRIGGER_STOP: | 780 | case SNDRV_PCM_TRIGGER_STOP: |
793 | dev_dbg(chip->card->dev, "pcm_trigger stop\n"); | ||
794 | for (i = 0; i < DSP_MAXPIPES; i++) { | 781 | for (i = 0; i < DSP_MAXPIPES; i++) { |
795 | if (channelmask & (1 << i)) { | 782 | if (channelmask & (1 << i)) { |
796 | pipe = chip->substream[i]->runtime->private_data; | 783 | pipe = chip->substream[i]->runtime->private_data; |
@@ -800,7 +787,6 @@ static int pcm_trigger(struct snd_pcm_substream *substream, int cmd) | |||
800 | err = stop_transport(chip, channelmask); | 787 | err = stop_transport(chip, channelmask); |
801 | break; | 788 | break; |
802 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: | 789 | case SNDRV_PCM_TRIGGER_PAUSE_PUSH: |
803 | dev_dbg(chip->card->dev, "pcm_trigger pause\n"); | ||
804 | for (i = 0; i < DSP_MAXPIPES; i++) { | 790 | for (i = 0; i < DSP_MAXPIPES; i++) { |
805 | if (channelmask & (1 << i)) { | 791 | if (channelmask & (1 << i)) { |
806 | pipe = chip->substream[i]->runtime->private_data; | 792 | pipe = chip->substream[i]->runtime->private_data; |
@@ -937,7 +923,6 @@ static int snd_echo_new_pcm(struct echoaudio *chip) | |||
937 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); | 923 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); |
938 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) | 924 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) |
939 | return err; | 925 | return err; |
940 | dev_dbg(chip->card->dev, "Analog PCM ok\n"); | ||
941 | 926 | ||
942 | #ifdef ECHOCARD_HAS_DIGITAL_IO | 927 | #ifdef ECHOCARD_HAS_DIGITAL_IO |
943 | /* PCM#1 Digital inputs, no outputs */ | 928 | /* PCM#1 Digital inputs, no outputs */ |
@@ -950,7 +935,6 @@ static int snd_echo_new_pcm(struct echoaudio *chip) | |||
950 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); | 935 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); |
951 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) | 936 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) |
952 | return err; | 937 | return err; |
953 | dev_dbg(chip->card->dev, "Digital PCM ok\n"); | ||
954 | #endif /* ECHOCARD_HAS_DIGITAL_IO */ | 938 | #endif /* ECHOCARD_HAS_DIGITAL_IO */ |
955 | 939 | ||
956 | #else /* ECHOCARD_HAS_VMIXER */ | 940 | #else /* ECHOCARD_HAS_VMIXER */ |
@@ -972,7 +956,6 @@ static int snd_echo_new_pcm(struct echoaudio *chip) | |||
972 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); | 956 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &analog_capture_ops); |
973 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) | 957 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) |
974 | return err; | 958 | return err; |
975 | dev_dbg(chip->card->dev, "Analog PCM ok\n"); | ||
976 | 959 | ||
977 | #ifdef ECHOCARD_HAS_DIGITAL_IO | 960 | #ifdef ECHOCARD_HAS_DIGITAL_IO |
978 | /* PCM#1 Digital i/o */ | 961 | /* PCM#1 Digital i/o */ |
@@ -987,7 +970,6 @@ static int snd_echo_new_pcm(struct echoaudio *chip) | |||
987 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); | 970 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &digital_capture_ops); |
988 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) | 971 | if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) |
989 | return err; | 972 | return err; |
990 | dev_dbg(chip->card->dev, "Digital PCM ok\n"); | ||
991 | #endif /* ECHOCARD_HAS_DIGITAL_IO */ | 973 | #endif /* ECHOCARD_HAS_DIGITAL_IO */ |
992 | 974 | ||
993 | #endif /* ECHOCARD_HAS_VMIXER */ | 975 | #endif /* ECHOCARD_HAS_VMIXER */ |
@@ -1881,10 +1863,8 @@ static irqreturn_t snd_echo_interrupt(int irq, void *dev_id) | |||
1881 | 1863 | ||
1882 | static int snd_echo_free(struct echoaudio *chip) | 1864 | static int snd_echo_free(struct echoaudio *chip) |
1883 | { | 1865 | { |
1884 | dev_dbg(chip->card->dev, "Stop DSP...\n"); | ||
1885 | if (chip->comm_page) | 1866 | if (chip->comm_page) |
1886 | rest_in_peace(chip); | 1867 | rest_in_peace(chip); |
1887 | dev_dbg(chip->card->dev, "Stopped.\n"); | ||
1888 | 1868 | ||
1889 | if (chip->irq >= 0) | 1869 | if (chip->irq >= 0) |
1890 | free_irq(chip->irq, chip); | 1870 | free_irq(chip->irq, chip); |
@@ -1898,14 +1878,12 @@ static int snd_echo_free(struct echoaudio *chip) | |||
1898 | if (chip->iores) | 1878 | if (chip->iores) |
1899 | release_and_free_resource(chip->iores); | 1879 | release_and_free_resource(chip->iores); |
1900 | 1880 | ||
1901 | dev_dbg(chip->card->dev, "MMIO freed.\n"); | ||
1902 | 1881 | ||
1903 | pci_disable_device(chip->pci); | 1882 | pci_disable_device(chip->pci); |
1904 | 1883 | ||
1905 | /* release chip data */ | 1884 | /* release chip data */ |
1906 | free_firmware_cache(chip); | 1885 | free_firmware_cache(chip); |
1907 | kfree(chip); | 1886 | kfree(chip); |
1908 | dev_dbg(chip->card->dev, "Chip freed.\n"); | ||
1909 | return 0; | 1887 | return 0; |
1910 | } | 1888 | } |
1911 | 1889 | ||
@@ -1915,7 +1893,6 @@ static int snd_echo_dev_free(struct snd_device *device) | |||
1915 | { | 1893 | { |
1916 | struct echoaudio *chip = device->device_data; | 1894 | struct echoaudio *chip = device->device_data; |
1917 | 1895 | ||
1918 | dev_dbg(chip->card->dev, "snd_echo_dev_free()...\n"); | ||
1919 | return snd_echo_free(chip); | 1896 | return snd_echo_free(chip); |
1920 | } | 1897 | } |
1921 | 1898 | ||
@@ -2008,7 +1985,6 @@ static int snd_echo_create(struct snd_card *card, | |||
2008 | snd_echo_free(chip); | 1985 | snd_echo_free(chip); |
2009 | return err; | 1986 | return err; |
2010 | } | 1987 | } |
2011 | dev_dbg(card->dev, "Card init OK\n"); | ||
2012 | 1988 | ||
2013 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { | 1989 | if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) { |
2014 | snd_echo_free(chip); | 1990 | snd_echo_free(chip); |
@@ -2038,7 +2014,6 @@ static int snd_echo_probe(struct pci_dev *pci, | |||
2038 | return -ENOENT; | 2014 | return -ENOENT; |
2039 | } | 2015 | } |
2040 | 2016 | ||
2041 | dev_dbg(&pci->dev, "Echoaudio driver starting...\n"); | ||
2042 | i = 0; | 2017 | i = 0; |
2043 | err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, | 2018 | err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, |
2044 | 0, &card); | 2019 | 0, &card); |
@@ -2191,7 +2166,6 @@ static int snd_echo_suspend(struct device *dev) | |||
2191 | struct pci_dev *pci = to_pci_dev(dev); | 2166 | struct pci_dev *pci = to_pci_dev(dev); |
2192 | struct echoaudio *chip = dev_get_drvdata(dev); | 2167 | struct echoaudio *chip = dev_get_drvdata(dev); |
2193 | 2168 | ||
2194 | dev_dbg(dev, "suspend start\n"); | ||
2195 | snd_pcm_suspend_all(chip->analog_pcm); | 2169 | snd_pcm_suspend_all(chip->analog_pcm); |
2196 | snd_pcm_suspend_all(chip->digital_pcm); | 2170 | snd_pcm_suspend_all(chip->digital_pcm); |
2197 | 2171 | ||
@@ -2218,7 +2192,6 @@ static int snd_echo_suspend(struct device *dev) | |||
2218 | pci_save_state(pci); | 2192 | pci_save_state(pci); |
2219 | pci_disable_device(pci); | 2193 | pci_disable_device(pci); |
2220 | 2194 | ||
2221 | dev_dbg(dev, "suspend done\n"); | ||
2222 | return 0; | 2195 | return 0; |
2223 | } | 2196 | } |
2224 | 2197 | ||
@@ -2232,7 +2205,6 @@ static int snd_echo_resume(struct device *dev) | |||
2232 | u32 pipe_alloc_mask; | 2205 | u32 pipe_alloc_mask; |
2233 | int err; | 2206 | int err; |
2234 | 2207 | ||
2235 | dev_dbg(dev, "resume start\n"); | ||
2236 | pci_restore_state(pci); | 2208 | pci_restore_state(pci); |
2237 | commpage_bak = kmalloc(sizeof(struct echoaudio), GFP_KERNEL); | 2209 | commpage_bak = kmalloc(sizeof(struct echoaudio), GFP_KERNEL); |
2238 | if (commpage_bak == NULL) | 2210 | if (commpage_bak == NULL) |
@@ -2247,7 +2219,6 @@ static int snd_echo_resume(struct device *dev) | |||
2247 | snd_echo_free(chip); | 2219 | snd_echo_free(chip); |
2248 | return err; | 2220 | return err; |
2249 | } | 2221 | } |
2250 | dev_dbg(dev, "resume init OK\n"); | ||
2251 | 2222 | ||
2252 | /* Temporarily set chip->pipe_alloc_mask=0 otherwise | 2223 | /* Temporarily set chip->pipe_alloc_mask=0 otherwise |
2253 | * restore_dsp_settings() fails. | 2224 | * restore_dsp_settings() fails. |
@@ -2260,7 +2231,6 @@ static int snd_echo_resume(struct device *dev) | |||
2260 | kfree(commpage_bak); | 2231 | kfree(commpage_bak); |
2261 | return err; | 2232 | return err; |
2262 | } | 2233 | } |
2263 | dev_dbg(dev, "resume restore OK\n"); | ||
2264 | 2234 | ||
2265 | memcpy(&commpage->audio_format, &commpage_bak->audio_format, | 2235 | memcpy(&commpage->audio_format, &commpage_bak->audio_format, |
2266 | sizeof(commpage->audio_format)); | 2236 | sizeof(commpage->audio_format)); |
@@ -2286,7 +2256,6 @@ static int snd_echo_resume(struct device *dev) | |||
2286 | snd_echo_midi_output_trigger(chip->midi_out, 1); | 2256 | snd_echo_midi_output_trigger(chip->midi_out, 1); |
2287 | #endif | 2257 | #endif |
2288 | 2258 | ||
2289 | dev_dbg(dev, "resume done\n"); | ||
2290 | return 0; | 2259 | return 0; |
2291 | } | 2260 | } |
2292 | 2261 | ||
diff --git a/sound/pci/echoaudio/echoaudio_3g.c b/sound/pci/echoaudio/echoaudio_3g.c index 50a21690447d..2fa66dc3e675 100644 --- a/sound/pci/echoaudio/echoaudio_3g.c +++ b/sound/pci/echoaudio/echoaudio_3g.c | |||
@@ -328,7 +328,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
328 | { | 328 | { |
329 | u32 control_reg, clocks_from_dsp; | 329 | u32 control_reg, clocks_from_dsp; |
330 | 330 | ||
331 | dev_dbg(chip->card->dev, "set_input_clock:\n"); | ||
332 | 331 | ||
333 | /* Mask off the clock select bits */ | 332 | /* Mask off the clock select bits */ |
334 | control_reg = le32_to_cpu(chip->comm_page->control_register) & | 333 | control_reg = le32_to_cpu(chip->comm_page->control_register) & |
@@ -337,13 +336,11 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
337 | 336 | ||
338 | switch (clock) { | 337 | switch (clock) { |
339 | case ECHO_CLOCK_INTERNAL: | 338 | case ECHO_CLOCK_INTERNAL: |
340 | dev_dbg(chip->card->dev, "Set Echo3G clock to INTERNAL\n"); | ||
341 | chip->input_clock = ECHO_CLOCK_INTERNAL; | 339 | chip->input_clock = ECHO_CLOCK_INTERNAL; |
342 | return set_sample_rate(chip, chip->sample_rate); | 340 | return set_sample_rate(chip, chip->sample_rate); |
343 | case ECHO_CLOCK_SPDIF: | 341 | case ECHO_CLOCK_SPDIF: |
344 | if (chip->digital_mode == DIGITAL_MODE_ADAT) | 342 | if (chip->digital_mode == DIGITAL_MODE_ADAT) |
345 | return -EAGAIN; | 343 | return -EAGAIN; |
346 | dev_dbg(chip->card->dev, "Set Echo3G clock to SPDIF\n"); | ||
347 | control_reg |= E3G_SPDIF_CLOCK; | 344 | control_reg |= E3G_SPDIF_CLOCK; |
348 | if (clocks_from_dsp & E3G_CLOCK_DETECT_BIT_SPDIF96) | 345 | if (clocks_from_dsp & E3G_CLOCK_DETECT_BIT_SPDIF96) |
349 | control_reg |= E3G_DOUBLE_SPEED_MODE; | 346 | control_reg |= E3G_DOUBLE_SPEED_MODE; |
@@ -353,12 +350,10 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
353 | case ECHO_CLOCK_ADAT: | 350 | case ECHO_CLOCK_ADAT: |
354 | if (chip->digital_mode != DIGITAL_MODE_ADAT) | 351 | if (chip->digital_mode != DIGITAL_MODE_ADAT) |
355 | return -EAGAIN; | 352 | return -EAGAIN; |
356 | dev_dbg(chip->card->dev, "Set Echo3G clock to ADAT\n"); | ||
357 | control_reg |= E3G_ADAT_CLOCK; | 353 | control_reg |= E3G_ADAT_CLOCK; |
358 | control_reg &= ~E3G_DOUBLE_SPEED_MODE; | 354 | control_reg &= ~E3G_DOUBLE_SPEED_MODE; |
359 | break; | 355 | break; |
360 | case ECHO_CLOCK_WORD: | 356 | case ECHO_CLOCK_WORD: |
361 | dev_dbg(chip->card->dev, "Set Echo3G clock to WORD\n"); | ||
362 | control_reg |= E3G_WORD_CLOCK; | 357 | control_reg |= E3G_WORD_CLOCK; |
363 | if (clocks_from_dsp & E3G_CLOCK_DETECT_BIT_WORD96) | 358 | if (clocks_from_dsp & E3G_CLOCK_DETECT_BIT_WORD96) |
364 | control_reg |= E3G_DOUBLE_SPEED_MODE; | 359 | control_reg |= E3G_DOUBLE_SPEED_MODE; |
diff --git a/sound/pci/echoaudio/echoaudio_dsp.c b/sound/pci/echoaudio/echoaudio_dsp.c index ba9d4f16cbb3..1a9427aabe1d 100644 --- a/sound/pci/echoaudio/echoaudio_dsp.c +++ b/sound/pci/echoaudio/echoaudio_dsp.c | |||
@@ -206,7 +206,6 @@ static int load_asic_generic(struct echoaudio *chip, u32 cmd, short asic) | |||
206 | goto la_error; | 206 | goto la_error; |
207 | } | 207 | } |
208 | 208 | ||
209 | dev_dbg(chip->card->dev, "ASIC loaded\n"); | ||
210 | free_firmware(fw, chip); | 209 | free_firmware(fw, chip); |
211 | return 0; | 210 | return 0; |
212 | 211 | ||
@@ -473,7 +472,6 @@ static int load_dsp(struct echoaudio *chip, u16 *code) | |||
473 | 472 | ||
474 | chip->dsp_code = code; /* Show which DSP code loaded */ | 473 | chip->dsp_code = code; /* Show which DSP code loaded */ |
475 | chip->bad_board = FALSE; /* DSP OK */ | 474 | chip->bad_board = FALSE; /* DSP OK */ |
476 | dev_dbg(chip->card->dev, "load_dsp: OK!\n"); | ||
477 | return 0; | 475 | return 0; |
478 | } | 476 | } |
479 | udelay(100); | 477 | udelay(100); |
@@ -674,7 +672,6 @@ static void get_audio_meters(struct echoaudio *chip, long *meters) | |||
674 | static int restore_dsp_rettings(struct echoaudio *chip) | 672 | static int restore_dsp_rettings(struct echoaudio *chip) |
675 | { | 673 | { |
676 | int i, o, err; | 674 | int i, o, err; |
677 | dev_dbg(chip->card->dev, "restore_dsp_settings\n"); | ||
678 | 675 | ||
679 | if ((err = check_asic_status(chip)) < 0) | 676 | if ((err = check_asic_status(chip)) < 0) |
680 | return err; | 677 | return err; |
@@ -771,7 +768,6 @@ static int restore_dsp_rettings(struct echoaudio *chip) | |||
771 | if (send_vector(chip, DSP_VC_UPDATE_FLAGS) < 0) | 768 | if (send_vector(chip, DSP_VC_UPDATE_FLAGS) < 0) |
772 | return -EIO; | 769 | return -EIO; |
773 | 770 | ||
774 | dev_dbg(chip->card->dev, "restore_dsp_rettings done\n"); | ||
775 | return 0; | 771 | return 0; |
776 | } | 772 | } |
777 | 773 | ||
@@ -865,7 +861,6 @@ Same thing for pause_ and stop_ -trasport below. */ | |||
865 | static int start_transport(struct echoaudio *chip, u32 channel_mask, | 861 | static int start_transport(struct echoaudio *chip, u32 channel_mask, |
866 | u32 cyclic_mask) | 862 | u32 cyclic_mask) |
867 | { | 863 | { |
868 | dev_dbg(chip->card->dev, "start_transport %x\n", channel_mask); | ||
869 | 864 | ||
870 | if (wait_handshake(chip)) | 865 | if (wait_handshake(chip)) |
871 | return -EIO; | 866 | return -EIO; |
@@ -891,7 +886,6 @@ static int start_transport(struct echoaudio *chip, u32 channel_mask, | |||
891 | 886 | ||
892 | static int pause_transport(struct echoaudio *chip, u32 channel_mask) | 887 | static int pause_transport(struct echoaudio *chip, u32 channel_mask) |
893 | { | 888 | { |
894 | dev_dbg(chip->card->dev, "pause_transport %x\n", channel_mask); | ||
895 | 889 | ||
896 | if (wait_handshake(chip)) | 890 | if (wait_handshake(chip)) |
897 | return -EIO; | 891 | return -EIO; |
@@ -918,7 +912,6 @@ static int pause_transport(struct echoaudio *chip, u32 channel_mask) | |||
918 | 912 | ||
919 | static int stop_transport(struct echoaudio *chip, u32 channel_mask) | 913 | static int stop_transport(struct echoaudio *chip, u32 channel_mask) |
920 | { | 914 | { |
921 | dev_dbg(chip->card->dev, "stop_transport %x\n", channel_mask); | ||
922 | 915 | ||
923 | if (wait_handshake(chip)) | 916 | if (wait_handshake(chip)) |
924 | return -EIO; | 917 | return -EIO; |
@@ -954,8 +947,6 @@ static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) | |||
954 | stopped and unallocated. */ | 947 | stopped and unallocated. */ |
955 | static int rest_in_peace(struct echoaudio *chip) | 948 | static int rest_in_peace(struct echoaudio *chip) |
956 | { | 949 | { |
957 | dev_dbg(chip->card->dev, | ||
958 | "rest_in_peace() open=%x\n", chip->pipe_alloc_mask); | ||
959 | 950 | ||
960 | /* Stops all active pipes (just to be sure) */ | 951 | /* Stops all active pipes (just to be sure) */ |
961 | stop_transport(chip, chip->active_mask); | 952 | stop_transport(chip, chip->active_mask); |
@@ -1018,7 +1009,6 @@ static int init_dsp_comm_page(struct echoaudio *chip) | |||
1018 | */ | 1009 | */ |
1019 | static int init_line_levels(struct echoaudio *chip) | 1010 | static int init_line_levels(struct echoaudio *chip) |
1020 | { | 1011 | { |
1021 | dev_dbg(chip->card->dev, "init_line_levels\n"); | ||
1022 | memset(chip->output_gain, ECHOGAIN_MUTED, sizeof(chip->output_gain)); | 1012 | memset(chip->output_gain, ECHOGAIN_MUTED, sizeof(chip->output_gain)); |
1023 | memset(chip->input_gain, ECHOGAIN_MUTED, sizeof(chip->input_gain)); | 1013 | memset(chip->input_gain, ECHOGAIN_MUTED, sizeof(chip->input_gain)); |
1024 | memset(chip->monitor_gain, ECHOGAIN_MUTED, sizeof(chip->monitor_gain)); | 1014 | memset(chip->monitor_gain, ECHOGAIN_MUTED, sizeof(chip->monitor_gain)); |
@@ -1099,7 +1089,6 @@ static int allocate_pipes(struct echoaudio *chip, struct audiopipe *pipe, | |||
1099 | it moves data. The DMA counter is in units of bytes, not samples. */ | 1089 | it moves data. The DMA counter is in units of bytes, not samples. */ |
1100 | pipe->dma_counter = &chip->comm_page->position[pipe_index]; | 1090 | pipe->dma_counter = &chip->comm_page->position[pipe_index]; |
1101 | *pipe->dma_counter = 0; | 1091 | *pipe->dma_counter = 0; |
1102 | dev_dbg(chip->card->dev, "allocate_pipes: ok\n"); | ||
1103 | return pipe_index; | 1092 | return pipe_index; |
1104 | } | 1093 | } |
1105 | 1094 | ||
@@ -1110,7 +1099,6 @@ static int free_pipes(struct echoaudio *chip, struct audiopipe *pipe) | |||
1110 | u32 channel_mask; | 1099 | u32 channel_mask; |
1111 | int i; | 1100 | int i; |
1112 | 1101 | ||
1113 | dev_dbg(chip->card->dev, "free_pipes: Pipe %d\n", pipe->index); | ||
1114 | if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) | 1102 | if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) |
1115 | return -EINVAL; | 1103 | return -EINVAL; |
1116 | if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) | 1104 | if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) |
diff --git a/sound/pci/echoaudio/gina20_dsp.c b/sound/pci/echoaudio/gina20_dsp.c index a959eae95e0d..5dafe9260cb4 100644 --- a/sound/pci/echoaudio/gina20_dsp.c +++ b/sound/pci/echoaudio/gina20_dsp.c | |||
@@ -37,7 +37,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
37 | { | 37 | { |
38 | int err; | 38 | int err; |
39 | 39 | ||
40 | dev_dbg(chip->card->dev, "init_hw() - Gina20\n"); | ||
41 | if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA20)) | 40 | if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA20)) |
42 | return -ENODEV; | 41 | return -ENODEV; |
43 | 42 | ||
@@ -63,7 +62,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
63 | return err; | 62 | return err; |
64 | chip->bad_board = FALSE; | 63 | chip->bad_board = FALSE; |
65 | 64 | ||
66 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
67 | return err; | 65 | return err; |
68 | } | 66 | } |
69 | 67 | ||
@@ -150,7 +148,6 @@ static int set_sample_rate(struct echoaudio *chip, u32 rate) | |||
150 | 148 | ||
151 | static int set_input_clock(struct echoaudio *chip, u16 clock) | 149 | static int set_input_clock(struct echoaudio *chip, u16 clock) |
152 | { | 150 | { |
153 | dev_dbg(chip->card->dev, "set_input_clock:\n"); | ||
154 | 151 | ||
155 | switch (clock) { | 152 | switch (clock) { |
156 | case ECHO_CLOCK_INTERNAL: | 153 | case ECHO_CLOCK_INTERNAL: |
@@ -159,7 +156,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
159 | chip->spdif_status = GD_SPDIF_STATUS_UNDEF; | 156 | chip->spdif_status = GD_SPDIF_STATUS_UNDEF; |
160 | set_sample_rate(chip, chip->sample_rate); | 157 | set_sample_rate(chip, chip->sample_rate); |
161 | chip->input_clock = clock; | 158 | chip->input_clock = clock; |
162 | dev_dbg(chip->card->dev, "Set Gina clock to INTERNAL\n"); | ||
163 | break; | 159 | break; |
164 | case ECHO_CLOCK_SPDIF: | 160 | case ECHO_CLOCK_SPDIF: |
165 | chip->comm_page->gd_clock_state = GD_CLOCK_SPDIFIN; | 161 | chip->comm_page->gd_clock_state = GD_CLOCK_SPDIFIN; |
@@ -167,7 +163,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
167 | clear_handshake(chip); | 163 | clear_handshake(chip); |
168 | send_vector(chip, DSP_VC_SET_GD_AUDIO_STATE); | 164 | send_vector(chip, DSP_VC_SET_GD_AUDIO_STATE); |
169 | chip->clock_state = GD_CLOCK_SPDIFIN; | 165 | chip->clock_state = GD_CLOCK_SPDIFIN; |
170 | dev_dbg(chip->card->dev, "Set Gina20 clock to SPDIF\n"); | ||
171 | chip->input_clock = clock; | 166 | chip->input_clock = clock; |
172 | break; | 167 | break; |
173 | default: | 168 | default: |
@@ -209,7 +204,6 @@ static int update_flags(struct echoaudio *chip) | |||
209 | 204 | ||
210 | static int set_professional_spdif(struct echoaudio *chip, char prof) | 205 | static int set_professional_spdif(struct echoaudio *chip, char prof) |
211 | { | 206 | { |
212 | dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); | ||
213 | if (prof) | 207 | if (prof) |
214 | chip->comm_page->flags |= | 208 | chip->comm_page->flags |= |
215 | cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); | 209 | cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); |
diff --git a/sound/pci/echoaudio/gina24_dsp.c b/sound/pci/echoaudio/gina24_dsp.c index c8ea57612d22..6971766938bf 100644 --- a/sound/pci/echoaudio/gina24_dsp.c +++ b/sound/pci/echoaudio/gina24_dsp.c | |||
@@ -41,7 +41,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
41 | { | 41 | { |
42 | int err; | 42 | int err; |
43 | 43 | ||
44 | dev_dbg(chip->card->dev, "init_hw() - Gina24\n"); | ||
45 | if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA24)) | 44 | if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA24)) |
46 | return -ENODEV; | 45 | return -ENODEV; |
47 | 46 | ||
@@ -79,7 +78,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
79 | return err; | 78 | return err; |
80 | chip->bad_board = FALSE; | 79 | chip->bad_board = FALSE; |
81 | 80 | ||
82 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
83 | return err; | 81 | return err; |
84 | } | 82 | } |
85 | 83 | ||
@@ -156,7 +154,6 @@ static int load_asic(struct echoaudio *chip) | |||
156 | control_reg = GML_CONVERTER_ENABLE | GML_48KHZ; | 154 | control_reg = GML_CONVERTER_ENABLE | GML_48KHZ; |
157 | err = write_control_reg(chip, control_reg, TRUE); | 155 | err = write_control_reg(chip, control_reg, TRUE); |
158 | } | 156 | } |
159 | dev_dbg(chip->card->dev, "load_asic() done\n"); | ||
160 | return err; | 157 | return err; |
161 | } | 158 | } |
162 | 159 | ||
@@ -238,7 +235,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
238 | { | 235 | { |
239 | u32 control_reg, clocks_from_dsp; | 236 | u32 control_reg, clocks_from_dsp; |
240 | 237 | ||
241 | dev_dbg(chip->card->dev, "set_input_clock:\n"); | ||
242 | 238 | ||
243 | /* Mask off the clock select bits */ | 239 | /* Mask off the clock select bits */ |
244 | control_reg = le32_to_cpu(chip->comm_page->control_register) & | 240 | control_reg = le32_to_cpu(chip->comm_page->control_register) & |
@@ -247,13 +243,11 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
247 | 243 | ||
248 | switch (clock) { | 244 | switch (clock) { |
249 | case ECHO_CLOCK_INTERNAL: | 245 | case ECHO_CLOCK_INTERNAL: |
250 | dev_dbg(chip->card->dev, "Set Gina24 clock to INTERNAL\n"); | ||
251 | chip->input_clock = ECHO_CLOCK_INTERNAL; | 246 | chip->input_clock = ECHO_CLOCK_INTERNAL; |
252 | return set_sample_rate(chip, chip->sample_rate); | 247 | return set_sample_rate(chip, chip->sample_rate); |
253 | case ECHO_CLOCK_SPDIF: | 248 | case ECHO_CLOCK_SPDIF: |
254 | if (chip->digital_mode == DIGITAL_MODE_ADAT) | 249 | if (chip->digital_mode == DIGITAL_MODE_ADAT) |
255 | return -EAGAIN; | 250 | return -EAGAIN; |
256 | dev_dbg(chip->card->dev, "Set Gina24 clock to SPDIF\n"); | ||
257 | control_reg |= GML_SPDIF_CLOCK; | 251 | control_reg |= GML_SPDIF_CLOCK; |
258 | if (clocks_from_dsp & GML_CLOCK_DETECT_BIT_SPDIF96) | 252 | if (clocks_from_dsp & GML_CLOCK_DETECT_BIT_SPDIF96) |
259 | control_reg |= GML_DOUBLE_SPEED_MODE; | 253 | control_reg |= GML_DOUBLE_SPEED_MODE; |
@@ -263,17 +257,14 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
263 | case ECHO_CLOCK_ADAT: | 257 | case ECHO_CLOCK_ADAT: |
264 | if (chip->digital_mode != DIGITAL_MODE_ADAT) | 258 | if (chip->digital_mode != DIGITAL_MODE_ADAT) |
265 | return -EAGAIN; | 259 | return -EAGAIN; |
266 | dev_dbg(chip->card->dev, "Set Gina24 clock to ADAT\n"); | ||
267 | control_reg |= GML_ADAT_CLOCK; | 260 | control_reg |= GML_ADAT_CLOCK; |
268 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 261 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
269 | break; | 262 | break; |
270 | case ECHO_CLOCK_ESYNC: | 263 | case ECHO_CLOCK_ESYNC: |
271 | dev_dbg(chip->card->dev, "Set Gina24 clock to ESYNC\n"); | ||
272 | control_reg |= GML_ESYNC_CLOCK; | 264 | control_reg |= GML_ESYNC_CLOCK; |
273 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 265 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
274 | break; | 266 | break; |
275 | case ECHO_CLOCK_ESYNC96: | 267 | case ECHO_CLOCK_ESYNC96: |
276 | dev_dbg(chip->card->dev, "Set Gina24 clock to ESYNC96\n"); | ||
277 | control_reg |= GML_ESYNC_CLOCK | GML_DOUBLE_SPEED_MODE; | 268 | control_reg |= GML_ESYNC_CLOCK | GML_DOUBLE_SPEED_MODE; |
278 | break; | 269 | break; |
279 | default: | 270 | default: |
diff --git a/sound/pci/echoaudio/indigo_dsp.c b/sound/pci/echoaudio/indigo_dsp.c index cdeb073fad85..54edd67edff7 100644 --- a/sound/pci/echoaudio/indigo_dsp.c +++ b/sound/pci/echoaudio/indigo_dsp.c | |||
@@ -38,7 +38,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
38 | { | 38 | { |
39 | int err; | 39 | int err; |
40 | 40 | ||
41 | dev_dbg(chip->card->dev, "init_hw() - Indigo\n"); | ||
42 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO)) | 41 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO)) |
43 | return -ENODEV; | 42 | return -ENODEV; |
44 | 43 | ||
@@ -61,7 +60,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
61 | return err; | 60 | return err; |
62 | chip->bad_board = FALSE; | 61 | chip->bad_board = FALSE; |
63 | 62 | ||
64 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
65 | return err; | 63 | return err; |
66 | } | 64 | } |
67 | 65 | ||
diff --git a/sound/pci/echoaudio/indigodj_dsp.c b/sound/pci/echoaudio/indigodj_dsp.c index 133915ca6438..2cf5cc092d7a 100644 --- a/sound/pci/echoaudio/indigodj_dsp.c +++ b/sound/pci/echoaudio/indigodj_dsp.c | |||
@@ -38,7 +38,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
38 | { | 38 | { |
39 | int err; | 39 | int err; |
40 | 40 | ||
41 | dev_dbg(chip->card->dev, "init_hw() - Indigo DJ\n"); | ||
42 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ)) | 41 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ)) |
43 | return -ENODEV; | 42 | return -ENODEV; |
44 | 43 | ||
@@ -61,7 +60,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
61 | return err; | 60 | return err; |
62 | chip->bad_board = FALSE; | 61 | chip->bad_board = FALSE; |
63 | 62 | ||
64 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
65 | return err; | 63 | return err; |
66 | } | 64 | } |
67 | 65 | ||
diff --git a/sound/pci/echoaudio/indigodjx_dsp.c b/sound/pci/echoaudio/indigodjx_dsp.c index 26cdfcfc5553..5252863f1681 100644 --- a/sound/pci/echoaudio/indigodjx_dsp.c +++ b/sound/pci/echoaudio/indigodjx_dsp.c | |||
@@ -35,7 +35,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
35 | { | 35 | { |
36 | int err; | 36 | int err; |
37 | 37 | ||
38 | dev_dbg(chip->card->dev, "init_hw() - Indigo DJx\n"); | ||
39 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJX)) | 38 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJX)) |
40 | return -ENODEV; | 39 | return -ENODEV; |
41 | 40 | ||
@@ -60,7 +59,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
60 | return err; | 59 | return err; |
61 | chip->bad_board = FALSE; | 60 | chip->bad_board = FALSE; |
62 | 61 | ||
63 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
64 | return err; | 62 | return err; |
65 | } | 63 | } |
66 | 64 | ||
diff --git a/sound/pci/echoaudio/indigoio_dsp.c b/sound/pci/echoaudio/indigoio_dsp.c index 5e6df7c25055..4e81787627e0 100644 --- a/sound/pci/echoaudio/indigoio_dsp.c +++ b/sound/pci/echoaudio/indigoio_dsp.c | |||
@@ -38,7 +38,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
38 | { | 38 | { |
39 | int err; | 39 | int err; |
40 | 40 | ||
41 | dev_dbg(chip->card->dev, "init_hw() - Indigo IO\n"); | ||
42 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) | 41 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) |
43 | return -ENODEV; | 42 | return -ENODEV; |
44 | 43 | ||
@@ -61,7 +60,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
61 | return err; | 60 | return err; |
62 | chip->bad_board = FALSE; | 61 | chip->bad_board = FALSE; |
63 | 62 | ||
64 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
65 | return err; | 63 | return err; |
66 | } | 64 | } |
67 | 65 | ||
diff --git a/sound/pci/echoaudio/indigoiox_dsp.c b/sound/pci/echoaudio/indigoiox_dsp.c index 90cdd271d9fc..6de3f9bc6d26 100644 --- a/sound/pci/echoaudio/indigoiox_dsp.c +++ b/sound/pci/echoaudio/indigoiox_dsp.c | |||
@@ -35,7 +35,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
35 | { | 35 | { |
36 | int err; | 36 | int err; |
37 | 37 | ||
38 | dev_dbg(chip->card->dev, "init_hw() - Indigo IOx\n"); | ||
39 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IOX)) | 38 | if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IOX)) |
40 | return -ENODEV; | 39 | return -ENODEV; |
41 | 40 | ||
@@ -60,7 +59,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
60 | return err; | 59 | return err; |
61 | chip->bad_board = FALSE; | 60 | chip->bad_board = FALSE; |
62 | 61 | ||
63 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
64 | return err; | 62 | return err; |
65 | } | 63 | } |
66 | 64 | ||
diff --git a/sound/pci/echoaudio/layla20_dsp.c b/sound/pci/echoaudio/layla20_dsp.c index 7f0f6ea08ca7..f2024a3565af 100644 --- a/sound/pci/echoaudio/layla20_dsp.c +++ b/sound/pci/echoaudio/layla20_dsp.c | |||
@@ -40,7 +40,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
40 | { | 40 | { |
41 | int err; | 41 | int err; |
42 | 42 | ||
43 | dev_dbg(chip->card->dev, "init_hw() - Layla20\n"); | ||
44 | if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20)) | 43 | if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20)) |
45 | return -ENODEV; | 44 | return -ENODEV; |
46 | 45 | ||
@@ -65,7 +64,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
65 | return err; | 64 | return err; |
66 | chip->bad_board = FALSE; | 65 | chip->bad_board = FALSE; |
67 | 66 | ||
68 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
69 | return err; | 67 | return err; |
70 | } | 68 | } |
71 | 69 | ||
@@ -190,24 +188,19 @@ static int set_input_clock(struct echoaudio *chip, u16 clock_source) | |||
190 | u16 clock; | 188 | u16 clock; |
191 | u32 rate; | 189 | u32 rate; |
192 | 190 | ||
193 | dev_dbg(chip->card->dev, "set_input_clock:\n"); | ||
194 | rate = 0; | 191 | rate = 0; |
195 | switch (clock_source) { | 192 | switch (clock_source) { |
196 | case ECHO_CLOCK_INTERNAL: | 193 | case ECHO_CLOCK_INTERNAL: |
197 | dev_dbg(chip->card->dev, "Set Layla20 clock to INTERNAL\n"); | ||
198 | rate = chip->sample_rate; | 194 | rate = chip->sample_rate; |
199 | clock = LAYLA20_CLOCK_INTERNAL; | 195 | clock = LAYLA20_CLOCK_INTERNAL; |
200 | break; | 196 | break; |
201 | case ECHO_CLOCK_SPDIF: | 197 | case ECHO_CLOCK_SPDIF: |
202 | dev_dbg(chip->card->dev, "Set Layla20 clock to SPDIF\n"); | ||
203 | clock = LAYLA20_CLOCK_SPDIF; | 198 | clock = LAYLA20_CLOCK_SPDIF; |
204 | break; | 199 | break; |
205 | case ECHO_CLOCK_WORD: | 200 | case ECHO_CLOCK_WORD: |
206 | dev_dbg(chip->card->dev, "Set Layla20 clock to WORD\n"); | ||
207 | clock = LAYLA20_CLOCK_WORD; | 201 | clock = LAYLA20_CLOCK_WORD; |
208 | break; | 202 | break; |
209 | case ECHO_CLOCK_SUPER: | 203 | case ECHO_CLOCK_SUPER: |
210 | dev_dbg(chip->card->dev, "Set Layla20 clock to SUPER\n"); | ||
211 | clock = LAYLA20_CLOCK_SUPER; | 204 | clock = LAYLA20_CLOCK_SUPER; |
212 | break; | 205 | break; |
213 | default: | 206 | default: |
@@ -232,7 +225,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock_source) | |||
232 | 225 | ||
233 | static int set_output_clock(struct echoaudio *chip, u16 clock) | 226 | static int set_output_clock(struct echoaudio *chip, u16 clock) |
234 | { | 227 | { |
235 | dev_dbg(chip->card->dev, "set_output_clock: %d\n", clock); | ||
236 | switch (clock) { | 228 | switch (clock) { |
237 | case ECHO_CLOCK_SUPER: | 229 | case ECHO_CLOCK_SUPER: |
238 | clock = LAYLA20_OUTPUT_CLOCK_SUPER; | 230 | clock = LAYLA20_OUTPUT_CLOCK_SUPER; |
@@ -286,7 +278,6 @@ static int update_flags(struct echoaudio *chip) | |||
286 | 278 | ||
287 | static int set_professional_spdif(struct echoaudio *chip, char prof) | 279 | static int set_professional_spdif(struct echoaudio *chip, char prof) |
288 | { | 280 | { |
289 | dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); | ||
290 | if (prof) | 281 | if (prof) |
291 | chip->comm_page->flags |= | 282 | chip->comm_page->flags |= |
292 | cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); | 283 | cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF); |
diff --git a/sound/pci/echoaudio/layla24_dsp.c b/sound/pci/echoaudio/layla24_dsp.c index eb8f218f79fe..4f11e81f6c0e 100644 --- a/sound/pci/echoaudio/layla24_dsp.c +++ b/sound/pci/echoaudio/layla24_dsp.c | |||
@@ -40,7 +40,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
40 | { | 40 | { |
41 | int err; | 41 | int err; |
42 | 42 | ||
43 | dev_dbg(chip->card->dev, "init_hw() - Layla24\n"); | ||
44 | if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA24)) | 43 | if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA24)) |
45 | return -ENODEV; | 44 | return -ENODEV; |
46 | 45 | ||
@@ -70,7 +69,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
70 | if ((err = init_line_levels(chip)) < 0) | 69 | if ((err = init_line_levels(chip)) < 0) |
71 | return err; | 70 | return err; |
72 | 71 | ||
73 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
74 | return err; | 72 | return err; |
75 | } | 73 | } |
76 | 74 | ||
@@ -118,7 +116,6 @@ static int load_asic(struct echoaudio *chip) | |||
118 | if (chip->asic_loaded) | 116 | if (chip->asic_loaded) |
119 | return 1; | 117 | return 1; |
120 | 118 | ||
121 | dev_dbg(chip->card->dev, "load_asic\n"); | ||
122 | 119 | ||
123 | /* Give the DSP a few milliseconds to settle down */ | 120 | /* Give the DSP a few milliseconds to settle down */ |
124 | mdelay(10); | 121 | mdelay(10); |
@@ -152,7 +149,6 @@ static int load_asic(struct echoaudio *chip) | |||
152 | err = write_control_reg(chip, GML_CONVERTER_ENABLE | GML_48KHZ, | 149 | err = write_control_reg(chip, GML_CONVERTER_ENABLE | GML_48KHZ, |
153 | TRUE); | 150 | TRUE); |
154 | 151 | ||
155 | dev_dbg(chip->card->dev, "load_asic() done\n"); | ||
156 | return err; | 152 | return err; |
157 | } | 153 | } |
158 | 154 | ||
@@ -262,7 +258,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
262 | /* Pick the new clock */ | 258 | /* Pick the new clock */ |
263 | switch (clock) { | 259 | switch (clock) { |
264 | case ECHO_CLOCK_INTERNAL: | 260 | case ECHO_CLOCK_INTERNAL: |
265 | dev_dbg(chip->card->dev, "Set Layla24 clock to INTERNAL\n"); | ||
266 | chip->input_clock = ECHO_CLOCK_INTERNAL; | 261 | chip->input_clock = ECHO_CLOCK_INTERNAL; |
267 | return set_sample_rate(chip, chip->sample_rate); | 262 | return set_sample_rate(chip, chip->sample_rate); |
268 | case ECHO_CLOCK_SPDIF: | 263 | case ECHO_CLOCK_SPDIF: |
@@ -271,7 +266,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
271 | control_reg |= GML_SPDIF_CLOCK; | 266 | control_reg |= GML_SPDIF_CLOCK; |
272 | /* Layla24 doesn't support 96KHz S/PDIF */ | 267 | /* Layla24 doesn't support 96KHz S/PDIF */ |
273 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 268 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
274 | dev_dbg(chip->card->dev, "Set Layla24 clock to SPDIF\n"); | ||
275 | break; | 269 | break; |
276 | case ECHO_CLOCK_WORD: | 270 | case ECHO_CLOCK_WORD: |
277 | control_reg |= GML_WORD_CLOCK; | 271 | control_reg |= GML_WORD_CLOCK; |
@@ -279,14 +273,12 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
279 | control_reg |= GML_DOUBLE_SPEED_MODE; | 273 | control_reg |= GML_DOUBLE_SPEED_MODE; |
280 | else | 274 | else |
281 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 275 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
282 | dev_dbg(chip->card->dev, "Set Layla24 clock to WORD\n"); | ||
283 | break; | 276 | break; |
284 | case ECHO_CLOCK_ADAT: | 277 | case ECHO_CLOCK_ADAT: |
285 | if (chip->digital_mode != DIGITAL_MODE_ADAT) | 278 | if (chip->digital_mode != DIGITAL_MODE_ADAT) |
286 | return -EAGAIN; | 279 | return -EAGAIN; |
287 | control_reg |= GML_ADAT_CLOCK; | 280 | control_reg |= GML_ADAT_CLOCK; |
288 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 281 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
289 | dev_dbg(chip->card->dev, "Set Layla24 clock to ADAT\n"); | ||
290 | break; | 282 | break; |
291 | default: | 283 | default: |
292 | dev_err(chip->card->dev, | 284 | dev_err(chip->card->dev, |
diff --git a/sound/pci/echoaudio/mia_dsp.c b/sound/pci/echoaudio/mia_dsp.c index ed2f21dcd1c9..fdad079ad9a1 100644 --- a/sound/pci/echoaudio/mia_dsp.c +++ b/sound/pci/echoaudio/mia_dsp.c | |||
@@ -41,7 +41,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
41 | { | 41 | { |
42 | int err; | 42 | int err; |
43 | 43 | ||
44 | dev_dbg(chip->card->dev, "init_hw() - Mia\n"); | ||
45 | if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA)) | 44 | if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA)) |
46 | return -ENODEV; | 45 | return -ENODEV; |
47 | 46 | ||
@@ -67,7 +66,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
67 | return err; | 66 | return err; |
68 | chip->bad_board = FALSE; | 67 | chip->bad_board = FALSE; |
69 | 68 | ||
70 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
71 | return err; | 69 | return err; |
72 | } | 70 | } |
73 | 71 | ||
diff --git a/sound/pci/echoaudio/midi.c b/sound/pci/echoaudio/midi.c index 8d43c5a4976b..d913749d154a 100644 --- a/sound/pci/echoaudio/midi.c +++ b/sound/pci/echoaudio/midi.c | |||
@@ -157,7 +157,6 @@ static int snd_echo_midi_input_open(struct snd_rawmidi_substream *substream) | |||
157 | struct echoaudio *chip = substream->rmidi->private_data; | 157 | struct echoaudio *chip = substream->rmidi->private_data; |
158 | 158 | ||
159 | chip->midi_in = substream; | 159 | chip->midi_in = substream; |
160 | dev_dbg(chip->card->dev, "rawmidi_iopen\n"); | ||
161 | return 0; | 160 | return 0; |
162 | } | 161 | } |
163 | 162 | ||
@@ -183,7 +182,6 @@ static int snd_echo_midi_input_close(struct snd_rawmidi_substream *substream) | |||
183 | struct echoaudio *chip = substream->rmidi->private_data; | 182 | struct echoaudio *chip = substream->rmidi->private_data; |
184 | 183 | ||
185 | chip->midi_in = NULL; | 184 | chip->midi_in = NULL; |
186 | dev_dbg(chip->card->dev, "rawmidi_iclose\n"); | ||
187 | return 0; | 185 | return 0; |
188 | } | 186 | } |
189 | 187 | ||
@@ -196,7 +194,6 @@ static int snd_echo_midi_output_open(struct snd_rawmidi_substream *substream) | |||
196 | chip->tinuse = 0; | 194 | chip->tinuse = 0; |
197 | chip->midi_full = 0; | 195 | chip->midi_full = 0; |
198 | chip->midi_out = substream; | 196 | chip->midi_out = substream; |
199 | dev_dbg(chip->card->dev, "rawmidi_open\n"); | ||
200 | return 0; | 197 | return 0; |
201 | } | 198 | } |
202 | 199 | ||
@@ -209,7 +206,6 @@ static void snd_echo_midi_output_write(unsigned long data) | |||
209 | int bytes, sent, time; | 206 | int bytes, sent, time; |
210 | unsigned char buf[MIDI_OUT_BUFFER_SIZE - 1]; | 207 | unsigned char buf[MIDI_OUT_BUFFER_SIZE - 1]; |
211 | 208 | ||
212 | dev_dbg(chip->card->dev, "snd_echo_midi_output_write\n"); | ||
213 | /* No interrupts are involved: we have to check at regular intervals | 209 | /* No interrupts are involved: we have to check at regular intervals |
214 | if the card's output buffer has room for new data. */ | 210 | if the card's output buffer has room for new data. */ |
215 | sent = bytes = 0; | 211 | sent = bytes = 0; |
@@ -288,7 +284,6 @@ static int snd_echo_midi_output_close(struct snd_rawmidi_substream *substream) | |||
288 | struct echoaudio *chip = substream->rmidi->private_data; | 284 | struct echoaudio *chip = substream->rmidi->private_data; |
289 | 285 | ||
290 | chip->midi_out = NULL; | 286 | chip->midi_out = NULL; |
291 | dev_dbg(chip->card->dev, "rawmidi_oclose\n"); | ||
292 | return 0; | 287 | return 0; |
293 | } | 288 | } |
294 | 289 | ||
@@ -328,6 +323,5 @@ static int snd_echo_midi_create(struct snd_card *card, | |||
328 | 323 | ||
329 | chip->rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | | 324 | chip->rmidi->info_flags |= SNDRV_RAWMIDI_INFO_OUTPUT | |
330 | SNDRV_RAWMIDI_INFO_INPUT | SNDRV_RAWMIDI_INFO_DUPLEX; | 325 | SNDRV_RAWMIDI_INFO_INPUT | SNDRV_RAWMIDI_INFO_DUPLEX; |
331 | dev_dbg(chip->card->dev, "MIDI ok\n"); | ||
332 | return 0; | 326 | return 0; |
333 | } | 327 | } |
diff --git a/sound/pci/echoaudio/mona_dsp.c b/sound/pci/echoaudio/mona_dsp.c index cc46a8c8e3dd..843c7a5e5105 100644 --- a/sound/pci/echoaudio/mona_dsp.c +++ b/sound/pci/echoaudio/mona_dsp.c | |||
@@ -41,7 +41,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
41 | { | 41 | { |
42 | int err; | 42 | int err; |
43 | 43 | ||
44 | dev_dbg(chip->card->dev, "init_hw() - Mona\n"); | ||
45 | if (snd_BUG_ON((subdevice_id & 0xfff0) != MONA)) | 44 | if (snd_BUG_ON((subdevice_id & 0xfff0) != MONA)) |
46 | return -ENODEV; | 45 | return -ENODEV; |
47 | 46 | ||
@@ -72,7 +71,6 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) | |||
72 | return err; | 71 | return err; |
73 | chip->bad_board = FALSE; | 72 | chip->bad_board = FALSE; |
74 | 73 | ||
75 | dev_dbg(chip->card->dev, "init_hw done\n"); | ||
76 | return err; | 74 | return err; |
77 | } | 75 | } |
78 | 76 | ||
@@ -302,7 +300,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
302 | u32 control_reg, clocks_from_dsp; | 300 | u32 control_reg, clocks_from_dsp; |
303 | int err; | 301 | int err; |
304 | 302 | ||
305 | dev_dbg(chip->card->dev, "set_input_clock:\n"); | ||
306 | 303 | ||
307 | /* Prevent two simultaneous calls to switch_asic() */ | 304 | /* Prevent two simultaneous calls to switch_asic() */ |
308 | if (atomic_read(&chip->opencount)) | 305 | if (atomic_read(&chip->opencount)) |
@@ -315,7 +312,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
315 | 312 | ||
316 | switch (clock) { | 313 | switch (clock) { |
317 | case ECHO_CLOCK_INTERNAL: | 314 | case ECHO_CLOCK_INTERNAL: |
318 | dev_dbg(chip->card->dev, "Set Mona clock to INTERNAL\n"); | ||
319 | chip->input_clock = ECHO_CLOCK_INTERNAL; | 315 | chip->input_clock = ECHO_CLOCK_INTERNAL; |
320 | return set_sample_rate(chip, chip->sample_rate); | 316 | return set_sample_rate(chip, chip->sample_rate); |
321 | case ECHO_CLOCK_SPDIF: | 317 | case ECHO_CLOCK_SPDIF: |
@@ -327,7 +323,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
327 | spin_lock_irq(&chip->lock); | 323 | spin_lock_irq(&chip->lock); |
328 | if (err < 0) | 324 | if (err < 0) |
329 | return err; | 325 | return err; |
330 | dev_dbg(chip->card->dev, "Set Mona clock to SPDIF\n"); | ||
331 | control_reg |= GML_SPDIF_CLOCK; | 326 | control_reg |= GML_SPDIF_CLOCK; |
332 | if (clocks_from_dsp & GML_CLOCK_DETECT_BIT_SPDIF96) | 327 | if (clocks_from_dsp & GML_CLOCK_DETECT_BIT_SPDIF96) |
333 | control_reg |= GML_DOUBLE_SPEED_MODE; | 328 | control_reg |= GML_DOUBLE_SPEED_MODE; |
@@ -335,7 +330,6 @@ static int set_input_clock(struct echoaudio *chip, u16 clock) | |||
335 | control_reg &= ~GML_DOUBLE_SPEED_MODE; | 330 | control_reg &= ~GML_DOUBLE_SPEED_MODE; |
336 | break; | 331 | break; |
337 | case ECHO_CLOCK_WORD: | 332 | case ECHO_CLOCK_WORD: |
338 | dev_dbg(chip->card->dev, "Set Mona clock to WORD\n"); | ||
339 | spin_unlock_irq(&chip->lock); | 333 | spin_unlock_irq(&chip->lock); |
340 | err = switch_asic(chip, clocks_from_dsp & | 334 | err = switch_asic(chip, clocks_from_dsp & |
341 | GML_CLOCK_DETECT_BIT_WORD96); | 335 | GML_CLOCK_DETECT_BIT_WORD96); |