msm: scm-pas: Don't ignore bw requests when dfab clock exists
The check should be checking for not having a dfab clock. Fix it so bandwidth requests work. Change-Id: Ibfeb6fe581908e033664e05fa848b81632ccb672 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
|
||||
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -94,7 +94,7 @@ static int scm_pas_enable_bw(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
if (!scm_perf_client || scm_bus_clk)
|
||||
if (!scm_perf_client || !scm_bus_clk)
|
||||
return -EINVAL;
|
||||
|
||||
mutex_lock(&scm_pas_bw_mutex);
|
||||
|
||||
Reference in New Issue
Block a user