summaryrefslogtreecommitdiff
path: root/sound/x86/intel_hdmi_audio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-01-31 16:04:10 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-03 17:33:13 +0100
commitdf76df12f178642cac616b86a762d2ee749fe402 (patch)
tree726eec2ff1bbe4f2172009cb42662e28978f9b70 /sound/x86/intel_hdmi_audio.h
parente29c0f967261b0f6a95e05a224341be8f59df2d5 (diff)
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.h3
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;