Commit cb5220b8 authored by Soren Brinkmann's avatar Soren Brinkmann Committed by John Linn
Browse files

Xilinx: ARM: cpufreq: Fix potential NULL ptr dereference



If no OPPs exist, creating the freq_table fails. Error
handling in this case worked for the first core to
execute the cpufreq init routine. But a following core
would have unconditionally called
cpufreq_frequency_table_cpuinfo() causing a NULL pointer
dereference.

A corresponding fix for OMAP had been applied to mainline:
1b865214

Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
parent 9f0d4cec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment