]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Call event callback directly
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Jan 2017 16:38:00 +0000 (17:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:23:15 +0000 (17:23 +0100)
commita83fab1e7c97b1bed58b36821c8aa5719d217774
tree46126d38d9c82ed105c6d062541e843257089a53
parentcf8becd1ba1352487b19678b6887d26a8785746d
ALSA: x86: Call event callback directly

Currently the driver calls the event callback stored in its ctx
pointer, but it's obviously inefficient.  Replace it with the direct
calls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_audio.h
sound/x86/intel_hdmi_lpe_audio.c
sound/x86/intel_hdmi_lpe_audio.h