drm/i915: Remove the unused pending_notify from LPE platform data
The pending_notify flag in the LPE audio platform data is pointless, actually unused. So let's kill it off. v2: Fix typo in patch subject 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-5-ville.syrjala@linux.intel.com Reviewed-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ebf5f92147
commit
d220559580
3 changed files with 0 additions and 4 deletions
|
@ -361,8 +361,6 @@ void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
|
||||||
|
|
||||||
if (pdata->notify_audio_lpe)
|
if (pdata->notify_audio_lpe)
|
||||||
pdata->notify_audio_lpe(dev_priv->lpe_audio.platdev);
|
pdata->notify_audio_lpe(dev_priv->lpe_audio.platdev);
|
||||||
else
|
|
||||||
pdata->notify_pending = true;
|
|
||||||
|
|
||||||
spin_unlock_irqrestore(&pdata->lpe_audio_slock,
|
spin_unlock_irqrestore(&pdata->lpe_audio_slock,
|
||||||
irq_flags);
|
irq_flags);
|
||||||
|
|
|
@ -38,7 +38,6 @@ struct intel_hdmi_lpe_audio_eld {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct intel_hdmi_lpe_audio_pdata {
|
struct intel_hdmi_lpe_audio_pdata {
|
||||||
bool notify_pending;
|
|
||||||
int tmds_clock_speed;
|
int tmds_clock_speed;
|
||||||
bool hdmi_connected;
|
bool hdmi_connected;
|
||||||
bool dp_output;
|
bool dp_output;
|
||||||
|
|
|
@ -1811,7 +1811,6 @@ static int hdmi_lpe_audio_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
spin_lock_irq(&pdata->lpe_audio_slock);
|
spin_lock_irq(&pdata->lpe_audio_slock);
|
||||||
pdata->notify_audio_lpe = notify_audio_lpe;
|
pdata->notify_audio_lpe = notify_audio_lpe;
|
||||||
pdata->notify_pending = false;
|
|
||||||
spin_unlock_irq(&pdata->lpe_audio_slock);
|
spin_unlock_irq(&pdata->lpe_audio_slock);
|
||||||
|
|
||||||
pm_runtime_use_autosuspend(&pdev->dev);
|
pm_runtime_use_autosuspend(&pdev->dev);
|
||||||
|
|
Loading…
Reference in a new issue