]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove hdmi_connected from LPE audio pdata
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Apr 2017 16:02:25 +0000 (19:02 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 May 2017 13:20:32 +0000 (16:20 +0300)
commit8ee80fe6a5be0c23bb733f49d551d7a6f1f9c0d0
tree8e60930d1cf711fca7c696ec0b52cd4ccb97953d
parent872ab14cb8752f9e0d8e0fdf41df1e4aadddd60e
drm/i915: Remove hdmi_connected from LPE audio pdata

We can determine that the pipe was shut down from pipe<0, so there's
no point in duplicating that information as 'hdmi_connected'.

v2: Use pipe<0 instead of port<0 as we'll want to do per-port
    PCM devices later
    Initialize pipe to -1 to inidicate inactive initial state

Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170427160231.13337-7-ville.syrjala@linux.intel.com
Reviewed-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/intel_lpe_audio.c
include/drm/intel_lpe_audio.h
sound/x86/intel_hdmi_audio.c