video: mb862xxfb: prevent divide by zero bug
Do a sanity check on these before using them as divisors. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NAnatolij Gustschin <agust@denx.de> Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Showing
想要评论请 注册 或 登录