The cpufreq_cpu_get() and cpufreq_cpu_put() should be called in
pairs. Otherwise, system will dump when enabling lock debug config.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
}
cpufreq_update_policy(0);
+ cpufreq_cpu_put(data);
return NOTIFY_OK;
}
/*
- * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
}
cpufreq_update_policy(0);
+ cpufreq_cpu_put(data);
return NOTIFY_OK;
}