media: rcar-csi2: Fix PHTW table values for E3/V3M
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Mon, 10 Dec 2018 14:53:55 +0000 (09:53 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 16:19:26 +0000 (11:19 -0500)
commitaa8a1012ba624e92fd1ab58463f22501bce78af8
tree6e34eed587d31ca11c79934acd1ee97ae976c14c
parent6c67fa07a3b43dd83158e55584addae00d38a514
media: rcar-csi2: Fix PHTW table values for E3/V3M

The PHTW selection algorithm implemented in rcsi2_phtw_write_mbps() checks for
lower bound of the interval used to match the desired bandwidth. Use that
in place of the currently used upper bound.

Fixes: 10c08812fe60 ("media: rcar: rcar-csi2: Update V3M/E3 PHTW tables")

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-csi2.c