forked from rubenslte/android_kernel_samsung_msm8226
In current qseecom_suspend function, qseecom will scale down bus bandwidth if both of accumultive mode and current mode are not INACTIVE. But if device goes into suspend before bus scaling timeout happens, the accumulative mode may be zero but current mode is still not INACTIVE. This may prevent the device going to suspend, thus, make a change to just check current bus scaling mode in qseecom_suspend. CRs-Fixed: 740287 Change-Id: I60e90000aa9efe428b144fb766e19e81312af66f Signed-off-by: Zhen Kong <zkong@codeaurora.org>