]> git.baikalelectronics.ru Git - kernel.git/commit
video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Jun 2012 02:27:27 +0000 (11:27 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 13 Jun 2012 17:34:16 +0000 (17:34 +0000)
commit95908d706b4c54311a4837ac9499dd71fff8c0fc
tree36ea005ffda0daa38b92846536c4087fa9c21753
parentad69f77cf755f4c431029b1a0afcf0387e24c2e4
video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk

Divider value can be zero and it makes division by zero
from debug message in s3c_fb_calc_pixclk; therefore, it
should be fixed.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3c-fb.c