--- zzzz-none-000/linux-2.6.19.2/sound/core/oss/pcm_oss.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/sound/core/oss/pcm_oss.c 2007-01-19 14:42:56.000000000 +0000 @@ -2359,8 +2359,7 @@ substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; snd_assert(substream != NULL, return -ENXIO); pcm = substream->pcm; - if (!pcm->card->shutdown) - snd_pcm_oss_sync(pcm_oss_file); + snd_pcm_oss_sync(pcm_oss_file); mutex_lock(&pcm->open_mutex); snd_pcm_oss_release_file(pcm_oss_file); mutex_unlock(&pcm->open_mutex); @@ -2853,8 +2852,8 @@ } } #else /* !CONFIG_SND_VERBOSE_PROCFS */ -#define snd_pcm_oss_proc_init(pcm) -#define snd_pcm_oss_proc_done(pcm) +#define snd_pcm_oss_proc_init(pcm) do {} while (0) +#define snd_pcm_oss_proc_done(pcm) do {} while (0) #endif /* CONFIG_SND_VERBOSE_PROCFS */ /*