aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/mxc_ipuv3_fb.c
diff options
context:
space:
mode:
authorJeroen Hofstee2014-10-14 20:37:14 +0200
committerAnatolij Gustschin2014-10-16 10:58:34 +0200
commitc1420328dce9d5ff552deaa6453518806dbf2ddb (patch)
tree38c5b35465162e80e7340256ea127e6e1bec8878 /drivers/video/mxc_ipuv3_fb.c
parent0156444cf7e77e92fed7a61d6c6123b349f1d600 (diff)
video: ipu: fix debug and comment
- fix debug pixel clk display and add unit - fix some comments Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/video/mxc_ipuv3_fb.c')
-rw-r--r--drivers/video/mxc_ipuv3_fb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.c
index f75d77064ea..b20c19c426d 100644
--- a/drivers/video/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc_ipuv3_fb.c
@@ -258,8 +258,7 @@ static int mxcfb_set_par(struct fb_info *fbi)
if (fbi->var.sync & FB_SYNC_CLK_IDLE_EN)
sig_cfg.clkidle_en = 1;
- debug("pixclock = %ul Hz\n",
- (u32) (PICOS2KHZ(fbi->var.pixclock) * 1000UL));
+ debug("pixclock = %lu Hz\n", PICOS2KHZ(fbi->var.pixclock) * 1000UL);
if (ipu_init_sync_panel(mxc_fbi->ipu_di,
(PICOS2KHZ(fbi->var.pixclock)) * 1000UL,
@@ -486,7 +485,7 @@ static struct fb_info *mxcfb_init_fbinfo(void)
/*
* Probe routine for the framebuffer driver. It is called during the
- * driver binding process. The following functions are performed in
+ * driver binding process. The following functions are performed in
* this routine: Framebuffer initialization, Memory allocation and
* mapping, Framebuffer registration, IPU initialization.
*
@@ -542,7 +541,7 @@ static int mxcfb_probe(u32 interface_pix_fmt, uint8_t disp,
mxcfb_set_fix(fbi);
- /* alocate fb first */
+ /* allocate fb first */
if (mxcfb_map_video_memory(fbi) < 0)
return -ENOMEM;