[alsa-devel] [PATCH 08/10] ALSA: Change return value for load_dsp_prepare() to -ENOSYS

Ian Minett ian_minett at creativelabs.com
Fri Sep 21 05:29:19 CEST 2012


From: Ian Minett <ian_minett at creativelabs.com>

Signed-off-by: Ian Minett <ian_minett at creativelabs.com>

diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index c218bf4..c9f53bd 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -1165,7 +1165,7 @@ snd_hda_codec_load_dsp_prepare(struct hda_codec *codec, unsigned int format,
 				unsigned int size,
 				struct snd_dma_buffer *bufp)
 {
-	return 0;
+	return -ENOSYS;
 }
 static inline void
 snd_hda_codec_load_dsp_trigger(struct hda_codec *codec, bool start) {}
-- 
1.7.4.1



More information about the Alsa-devel mailing list