ALSA: hda - Change return value for load_dsp_prepare() to -ENOSYS
authorIan Minett <ian_minett@creativelabs.com>
Fri, 21 Sep 2012 03:29:19 +0000 (20:29 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Nov 2012 07:47:21 +0000 (08:47 +0100)
Signed-off-by: Ian Minett <ian_minett@creativelabs.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.h

index c218bf41261adca0776123d30a6848c980750b5e..c9f53bd587b05e7122f6be89dee4151969cedb73 100644 (file)
@@ -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) {}