diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2022-04-07 13:44:24 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-19 16:32:09 +0100 |
commit | 5dee8bb8d14dc7536cec58cc1d94148dce89dfc5 (patch) | |
tree | fb894bf69319fde4e2b2bc08d30f3c9eed78553a /drivers/fpga/fpga-bridge.c | |
parent | 6b4440584b92851af44b235ad825c8554dd143c0 (diff) |
spi: mt65xx: Move clock parent setting to remove clock disable gotos
Reparenting sel_clk to parent_clk can be done before enabling any of
spi_clk and spi_hclk. Move the call to clk_set_parent() for sel_clk
earlier, and call disable_unprepare() upon spi_clk prepare_enable()
failure to remove all clock disablement related gotos.
This commit is in preparation of a later cleanup.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions