projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
pxafb.c
diff --git
a/drivers/video/pxafb.c
b/drivers/video/pxafb.c
index a3bdcc152671b60645a81466441051225fd5e87a..a2e5b5100ab4edd8a8756905a0fbeefdd4091c4f 100644
(file)
--- a/
drivers/video/pxafb.c
+++ b/
drivers/video/pxafb.c
@@
-1648,7
+1648,8
@@
pxafb_freq_transition(struct notifier_block *nb, unsigned long val, void *data)
switch (val) {
case CPUFREQ_PRECHANGE:
- set_ctrlr_state(fbi, C_DISABLE_CLKCHANGE);
+ if (!fbi->overlay[0].usage && !fbi->overlay[1].usage)
+ set_ctrlr_state(fbi, C_DISABLE_CLKCHANGE);
break;
case CPUFREQ_POSTCHANGE: