aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorIan Minett <ian_minett@creativelabs.com>2012-09-20 20:29:19 -0700
committerTakashi Iwai <tiwai@suse.de>2012-11-28 08:47:21 +0100
commita3af4807fa6766d0772396989cb6bcf93847bc53 (patch)
treee98261620fa4f52d64c93456b0703f6275211262 /sound/pci/hda/hda_codec.h
parentd5c21b88e8df0701f33eaa33ef33601d8314a4f4 (diff)
ALSA: hda - Change return value for load_dsp_prepare() to -ENOSYS
Signed-off-by: Ian Minett <ian_minett@creativelabs.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index c218bf41261..c9f53bd587b 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) {}