Skip to content
Commit abc00ffd authored by Nishanth Menon's avatar Nishanth Menon Committed by Viresh Kumar
Browse files

cpufreq: ti-cpufreq: Introduce quirks to handle syscon fails appropriately



Commit b4bc9f9e ("cpufreq: ti-cpufreq: add support for omap34xx
and omap36xx") introduced special handling for OMAP3 class devices
where syscon node may not be present. However, this also creates a bug
where the syscon node is present, however the offset used to read
is beyond the syscon defined range.

Fix this by providing a quirk option that is populated when such
special handling is required. This allows proper failure for all other
platforms when the syscon node and efuse offsets are mismatched.

Fixes: b4bc9f9e ("cpufreq: ti-cpufreq: add support for omap34xx and omap36xx")
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarDhruva Gole <d-gole@ti.com>
Reviewed-by: default avatarKevin Hilman <khilman@baylibre.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 2b7ec33e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment