diff options
| author | Christoph Niedermaier <[email protected]> | 2020-02-11 11:58:07 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2020-02-12 04:10:41 +0000 |
| commit | 36eb7dc1bd42fe5f850329c893768ff89b696fba (patch) | |
| tree | 28590d9bddf790b4c8196a719848f447e3ef28b3 /drivers/fpga/machxo2-spi.c | |
| parent | Linux 5.6-rc1 (diff) | |
| download | kernel-36eb7dc1bd42fe5f850329c893768ff89b696fba.tar.gz kernel-36eb7dc1bd42fe5f850329c893768ff89b696fba.zip | |
cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
imx6ul_opp_check_speed_grading is called for both i.MX6UL and i.MX6ULL.
Since the i.MX6ULL was introduced to a separate ocotp compatible node
later, it is possible that the i.MX6ULL has also dtbs with
"fsl,imx6ull-ocotp". On a system without nvmem-cell speed grade a
missing check on this node causes a driver fail without considering
the cpu speed grade.
This patch prevents unwanted cpu overclocking on i.MX6ULL with compatible
node "fsl,imx6ull-ocotp" in old dtbs without nvmem-cell speed grade.
Fixes: 2733fb0d0699 ("cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull")
Signed-off-by: Christoph Niedermaier <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
