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

Ian Minett ian_minett at creativelabs.com
Fri Sep 14 03:15:58 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 159e07a..ac60300 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -1164,7 +1164,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