From: Erik Gilling Date: Mon, 28 Feb 2011 21:24:30 +0000 (-0800) Subject: video: tegra: hdcp: move call to hdcp suspend out of atomic context X-Git-Tag: firefly_0821_release~9833^2~29^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e4f0680d2149ec5278dde541eaf8be7bcae62210;p=firefly-linux-kernel-4.4.55.git video: tegra: hdcp: move call to hdcp suspend out of atomic context Change-Id: I62a9d810637df221862898536f990eda77e50644 Signed-off-by: Erik Gilling --- diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c index 14e90dc79f48..ad908f0f58ef 100644 --- a/drivers/video/tegra/dc/hdmi.c +++ b/drivers/video/tegra/dc/hdmi.c @@ -509,8 +509,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); }