drm/i915: Pass platform device to LPE audio notifier
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Jan 2017 16:56:39 +0000 (17:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 1 Feb 2017 15:22:28 +0000 (16:22 +0100)
commitb1c01f4df20a6376fe6245644225ff9fe97c5f95
tree9027684bae652a12b79c3ac893d3ba4e59a500cb
parent0843e043cf2e5d12a4041efd9c794a213a3ef93b
drm/i915: Pass platform device to LPE audio notifier

This allows the LPE HDMI driver to clean up its global variable
reference.

Also drop to pass the eld pointer because the connection status and
the ELD bytes can be retrieved from the attached pdata.

Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/intel_lpe_audio.c
include/drm/intel_lpe_audio.h
sound/x86/intel_hdmi_lpe_audio.c