projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i2c: uniphier-f: replace debug() with dev_dbg()
[oweals/u-boot.git]
/
drivers
/
video
/
mxc_ipuv3_fb.c
diff --git
a/drivers/video/mxc_ipuv3_fb.c
b/drivers/video/mxc_ipuv3_fb.c
index 0d0a0a97ff43c0d3a720e2689da53de09c0f34d4..1ab5cb7b1c87c37a5d16030c38520c96c3c576d8 100644
(file)
--- a/
drivers/video/mxc_ipuv3_fb.c
+++ b/
drivers/video/mxc_ipuv3_fb.c
@@
-571,6
+571,9
@@
void ipuv3_fb_shutdown(void)
int i;
struct ipu_stat *stat = (struct ipu_stat *)IPU_STAT;
int i;
struct ipu_stat *stat = (struct ipu_stat *)IPU_STAT;
+ if (!ipu_clk_enabled())
+ return;
+
for (i = 0; i < ARRAY_SIZE(mxcfb_info); i++) {
struct fb_info *fbi = mxcfb_info[i];
if (fbi) {
for (i = 0; i < ARRAY_SIZE(mxcfb_info); i++) {
struct fb_info *fbi = mxcfb_info[i];
if (fbi) {