summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/nvrm_user.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/nvrm_user.c b/arch/arm/mach-tegra/nvrm_user.c
index 543c1fb27f96..04bbae45068c 100644
--- a/arch/arm/mach-tegra/nvrm_user.c
+++ b/arch/arm/mach-tegra/nvrm_user.c
@@ -28,6 +28,7 @@
#include <linux/sched.h>
#include <linux/cpu.h>
#include <linux/platform_device.h>
+#include <linux/freezer.h>
#include "nvcommon.h"
#include "nvassert.h"
#include "nvos.h"
@@ -152,6 +153,8 @@ static void NvRmDfsThread(void *args)
panic("Unable to setaffinity of DFS thread!\n");
}
+ set_freezable_with_signal();
+
if (NvRmDfsGetState(hRm) > NvRmDfsRunState_Disabled)
{
NvRmDfsSetState(hRm, NvRmDfsRunState_ClosedLoop);