OpenCloudOS-Kernel/arch/m68k/coldfire
Dan Carpenter f6a4f0b424 m68k: coldfire: return success for clk_enable(NULL)
The clk_enable is supposed work when CONFIG_HAVE_CLK is false, but it
returns -EINVAL.  That means some drivers fail during probe.

[    1.680000] flexcan: probe of flexcan.0 failed with error -22

Fixes: c1fb1bf64b ("m68k: let clk_enable() return immediately if clk is NULL")
Fixes: bea8bcb12d ("m68knommu: Add support for the Coldfire m5441x.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
2021-08-23 08:40:04 +10:00
..
Makefile m68k: coldfire: use legacy_timer_tick() 2020-10-30 21:57:05 +01:00
amcore.c m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
cache.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk.c m68k: coldfire: return success for clk_enable(NULL) 2021-08-23 08:40:04 +10:00
device.c m68k: m5441x: add flexcan support 2021-08-23 08:40:04 +10:00
dma.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma_timer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
entry.S m68k/coldfire: Use CONFIG_PREEMPTION 2019-11-11 10:54:40 +10:00
firebee.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio.c m68k: coldfire: Include the GPIO driver header 2019-09-09 09:32:32 +10:00
head.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intc-2.c
intc-525x.c
intc-5249.c
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c m68k: coldfire: fix irq ranges 2021-04-23 15:33:40 +10:00
intc.c
m53xx.c m68k: coldfire: remove private clk_get/clk_put 2021-06-08 17:00:09 +02:00
m54xx.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m520x.c m68k: coldfire: remove private clk_get/clk_put 2021-06-08 17:00:09 +02:00
m523x.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m525x.c m68k/coldfire: change pll var. to clk_pll 2021-07-26 08:41:38 +10:00
m527x.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m528x.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5206.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5249.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5272.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5307.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5407.c m68k: coldfire: use clkdev_lookup on most coldfire 2021-06-08 17:00:09 +02:00
m5441x.c m68k: m5441x: add flexcan support 2021-08-23 08:40:04 +10:00
mcf8390.c
nettel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c m68k/PCI: Fix a memory leak in an error handling path 2020-05-25 10:32:20 +10:00
pit.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
reset.c
sltimers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
stmark2.c m68k: stmark2: update board setup 2021-08-23 08:40:04 +10:00
timers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
vectors.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00