MLK-21150-1 drm/bridge: sec-dsim: change uint64_t clk fields to uint32_t
authorFancy Fang <chen.fang@nxp.com>
Fri, 15 Mar 2019 02:33:35 +0000 (10:33 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitb2fc66aee1a3d5b815564789284b74d57ea28d67
tree7b91dc75d1feab995a9bb06cbb97011f4fe05022
parent9fce370a33d427be77b6d10c838eb6e59c027521
MLK-21150-1 drm/bridge: sec-dsim: change uint64_t clk fields to uint32_t

Change the 'bit_clk' and 'pix_clk' fields of struct sec_mipi_dsim
and the 'bit_clk' field of struct dsim_pll_pms from 'uint64_t' type
to 'uint32_t' type, since first, these two fields are in KHz unit,
and so 32 bit unsigned integer is enough to hold the data values,
and second, use 32 bit integer can simplify related clocks compute.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 3e62c748a531ca5eacbf6a616d3a979be5222b9c)
drivers/gpu/drm/bridge/sec-dsim.c