[media] v4l: aptina-pll: Round up minimum multiplier factor value properly
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 23 Apr 2012 12:59:25 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 May 2012 17:26:41 +0000 (14:26 -0300)
commit31ed29f9812a9cb9a1c6d270ff4e19da60046da1
tree43984b3b8419a8a1ee4352108557c5f188214924
parent433f75ab3d09a666c745d4163e21e811582d8eda
[media] v4l: aptina-pll: Round up minimum multiplier factor value properly

The mf_low value must be a multiple of mf_inc. Round it up to the
nearest mf_inc multiple after computing it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/aptina-pll.c