9
0
Fork 0

video: ipufb: Fix divider debug print

The fractional part is 4 bit, not 3

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-12-12 16:20:17 +01:00
parent ec3ba30258
commit 53bbcf85aa
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ static int sdc_init_panel(struct fb_info *info, enum disp_data_mapping fmt)
}
dev_dbg(&info->dev, "pixel clk = %lu, divider %u.%u\n",
pixel_clk, div >> 4, (div & 7) * 125);
pixel_clk, div >> 4, (div & 0xf) * (1000 / 16));
/*
* DISP3_IF_CLK_DOWN_WR is half the divider value and 2 fraction bits