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>
This commit is contained in:
@@ -33,13 +33,12 @@ struct platform_device;
|
||||
|
||||
struct intel_hdmi_lpe_audio_eld {
|
||||
int port_id;
|
||||
int pipe_id;
|
||||
unsigned char eld_data[HDMI_MAX_ELD_BYTES];
|
||||
};
|
||||
|
||||
struct intel_hdmi_lpe_audio_pdata {
|
||||
int pipe;
|
||||
int ls_clock;
|
||||
bool hdmi_connected;
|
||||
bool dp_output;
|
||||
struct intel_hdmi_lpe_audio_eld eld;
|
||||
void (*notify_audio_lpe)(struct platform_device *pdev);
|
||||
|
Reference in New Issue
Block a user