aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorShawn Lin <[email protected]>2018-03-08 06:49:41 +0000
committerMichael Turquette <[email protected]>2018-03-12 01:21:19 +0000
commit7f95beea36089918335eb1810ddd7ba8cf9d09cc (patch)
treeb47461069098a6da89d660de586ff96fc00c47ed /drivers/fpga/fpga-region.c
parentLinux 4.16-rc1 (diff)
downloadkernel-7f95beea36089918335eb1810ddd7ba8cf9d09cc.tar.gz
kernel-7f95beea36089918335eb1810ddd7ba8cf9d09cc.zip
clk: update cached phase to respect the fact when setting phase
It's found that the final phase set by driver doesn't match that of the output from clk_summary: dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 346 mmc0: new ultra high speed SDR104 SDIO card at address 0001 cat /sys/kernel/debug/clk/clk_summary | grep sdio_sample sdio_sample 0 1 0 50000000 0 0 It seems the cached core->phase isn't updated after the clk was registered. So fix this issue by updating the core->phase if setting phase successfully. Fixes: 9e4d04adeb1a ("clk: add clk_core_set_phase_nolock function") Cc: Stable <[email protected]> Cc: Jerome Brunet <[email protected]> Signed-off-by: Shawn Lin <[email protected]> Reviewed-by: Jerome Brunet <[email protected]> Tested-by: Jerome Brunet <[email protected]> Signed-off-by: Michael Turquette <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions