diff options
author | Minwuk Lee <mlee@nvidia.com> | 2011-01-23 22:07:37 -0800 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-01-25 15:36:30 -0800 |
commit | 6cecc14b26211d07c935fba74ed9fff4019328a6 (patch) | |
tree | 376c91ac0c6ce1aae9e2c79b71fd870c823630ea /drivers/video/tegra | |
parent | e759fbdb9d3cc35e0d74a18b499a8aac4af303cd (diff) |
[tegra: HDMI: hdcp] Fix warning issue
Need to put tegra_nvhdcp_suspend ahead of
spin_lock_irqsave() to avoid warning
while device enters into suspend (LP0)
Bug 781575
Change-Id: Iefbea823dad71e21ecd71c48007bebc9cbe10f0d
Reviewed-on: http://git-master/r/16687
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra')
-rw-r--r-- | drivers/video/tegra/dc/hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index a4d19c50572c..4b368cdaa4ff 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -528,8 +528,8 @@ static void tegra_dc_hdmi_suspend(struct tegra_dc *dc) struct tegra_dc_hdmi_data *hdmi = tegra_dc_get_outdata(dc); unsigned long flags; - spin_lock_irqsave(&hdmi->suspend_lock, flags); tegra_nvhdcp_suspend(hdmi->nvhdcp); + spin_lock_irqsave(&hdmi->suspend_lock, flags); hdmi->suspended = true; spin_unlock_irqrestore(&hdmi->suspend_lock, flags); } |