diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2007-08-13 11:37:55 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:52 -0400 |
commit | b83f346bc4d6ab358fd0da85b7eab08bf0234c0b (patch) | |
tree | 4e4d033bcba71b343e96e1063d6b5f8f88175f7a /sound/pci/maestro3.c | |
parent | f9ff161a14baca1a4ead5f12377ab25b9dd332e1 (diff) |
[ALSA] remove incorrect usage of SNDRV_PCM_INFO_SYNC_START and snd_pcm_set_sync()
Set the SNDRV_PCM_INFO_SYNC_START flag and the substream's sync ID
(only) if the substream actually can be linked to another one.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/maestro3.c')
-rw-r--r-- | sound/pci/maestro3.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 8a5ff1cb5362..32245770595e 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -1821,7 +1821,6 @@ snd_m3_playback_open(struct snd_pcm_substream *subs) | |||
1821 | return err; | 1821 | return err; |
1822 | 1822 | ||
1823 | runtime->hw = snd_m3_playback; | 1823 | runtime->hw = snd_m3_playback; |
1824 | snd_pcm_set_sync(subs); | ||
1825 | 1824 | ||
1826 | return 0; | 1825 | return 0; |
1827 | } | 1826 | } |
@@ -1846,7 +1845,6 @@ snd_m3_capture_open(struct snd_pcm_substream *subs) | |||
1846 | return err; | 1845 | return err; |
1847 | 1846 | ||
1848 | runtime->hw = snd_m3_capture; | 1847 | runtime->hw = snd_m3_capture; |
1849 | snd_pcm_set_sync(subs); | ||
1850 | 1848 | ||
1851 | return 0; | 1849 | return 0; |
1852 | } | 1850 | } |