diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-08-23 08:22:50 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-23 09:43:26 +0200 |
commit | 54d1d2f5f0886f7c31512c83a6ed87bbcd0d2b3a (patch) | |
tree | a223af8cd57843556635e78a666e184c9414ea98 /include/sound | |
parent | ALSA: hdac: Fix size allocation for ext device allocation (diff) | |
download | linux-54d1d2f5f0886f7c31512c83a6ed87bbcd0d2b3a.tar.xz linux-54d1d2f5f0886f7c31512c83a6ed87bbcd0d2b3a.zip |
ALSA: hdac: fix the spbmaxfifo API
spbmaxfifo API is actually a query function not a set function so
name it snd_hdac_ext_stream_get_spbmaxfifo()
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/hdaudio_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h index 9385c99a6504..94210dcdb6ea 100644 --- a/include/sound/hdaudio_ext.h +++ b/include/sound/hdaudio_ext.h @@ -107,7 +107,7 @@ void snd_hdac_ext_stop_streams(struct hdac_ext_bus *sbus); int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus, struct hdac_ext_stream *stream, u32 value); -int snd_hdac_ext_stream_set_spbmaxfifo(struct hdac_ext_bus *ebus, +int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus, struct hdac_ext_stream *stream); void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hstream); |