Skip to content
Commit f6a4f0b4 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Ungerer
Browse files

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: c1fb1bf6 ("m68k: let clk_enable() return immediately if clk is NULL")
Fixes: bea8bcb1 ("m68knommu: Add support for the Coldfire m5441x.")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent 35a9f936
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment