From 6cecc14b26211d07c935fba74ed9fff4019328a6 Mon Sep 17 00:00:00 2001 From: Minwuk Lee Date: Sun, 23 Jan 2011 22:07:37 -0800 Subject: [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 Tested-by: Niket Sirsi --- drivers/video/tegra/dc/hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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); } -- cgit v1.2.3