]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: zynq: Add dummy clock enable function
authorMichal Simek <michal.simek@xilinx.com>
Tue, 9 Feb 2021 14:28:15 +0000 (15:28 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 23 Feb 2021 13:56:59 +0000 (14:56 +0100)
commit9b7aac75365b68bae2e8f7cf074ba95638d31882
tree9d2ee4b001275fe6a2191ead6ec3913e033a783d
parent3aba25bc382beeb8a92b46d23fd1db47dfcb1121
clk: zynq: Add dummy clock enable function

A lot of Xilinx drivers are checking -ENOSYS which means that clock driver
doesn't have enable function. Remove this checking from drivers and create
dummy enable function as was done for clk_fixed_rate driver by
commit 6bf6d81c1112 ("clk: fixed_rate: add dummy enable() function").

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_zynq.c
drivers/mmc/zynq_sdhci.c
drivers/net/zynq_gem.c
drivers/serial/serial_zynq.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
drivers/spi/zynqmp_gqspi.c
drivers/watchdog/xilinx_wwdt.c