Home
last modified time | relevance | path

Searched hist:cdc6080a28ccf9c9299518374a8f8d1f9afa7ee7 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/clk/rockchip/
H A Dclk_rk3368.ccdc6080a28ccf9c9299518374a8f8d1f9afa7ee7 Tue Jul 11 18:59:45 UTC 2017 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> rockchip: clk: rk3368: use correct (i.e. 'rk3368_clk_priv') structure for auto-alloc

The clk driver for the RK3368 picked the wrong data structure's size
for its auto-alloc size: the size was calculated on the structure
representing the CRU hardware block instead of the priv structure.
As the CRU's register file is much larger than the driver's priv,
this did not cause any pain (except wasting memory).

Fix this by using the correct data structure's size.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>