diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-01-31 16:04:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-03 17:33:13 +0100 |
commit | df76df12f178642cac616b86a762d2ee749fe402 (patch) | |
tree | 726eec2ff1bbe4f2172009cb42662e28978f9b70 /sound/x86/intel_hdmi_audio.h | |
parent | ALSA: x86: Fix for CONFIG_PM=n (diff) | |
download | linux-df76df12f178642cac616b86a762d2ee749fe402.tar.xz linux-df76df12f178642cac616b86a762d2ee749fe402.zip |
ALSA: x86: Remove indirect call of snd_pcm_period_elapsed()
Again another indirect call... Let's straighten it up.
Also define the had_stream field with a proper type instead of a void
pointer.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r-- | sound/x86/intel_hdmi_audio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h index d301c3021375..bcbb4b262fff 100644 --- a/sound/x86/intel_hdmi_audio.h +++ b/sound/x86/intel_hdmi_audio.h @@ -75,8 +75,7 @@ struct platform_device; struct pcm_stream_info { int str_id; - void *had_substream; - void (*period_elapsed)(void *had_substream); + struct snd_pcm_substream *had_substream; u32 buffer_ptr; u64 buffer_rendered; u32 ring_buf_size; |