Lubomir Rintel
529571392b
ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
...
commit 76f4e2c3b6 upstream.
cpu_is_mmp2() was equivalent to cpu_is_pj4(), wouldn't be correct for
multiplatform kernels. Fix it by also considering mmp_chip_id, as is
done for cpu_is_pxa168() and cpu_is_pxa910() above.
Moreover, it is only available with CONFIG_CPU_MMP2 and thus doesn't work
on DT-based MMP2 machines. Enable it on CONFIG_MACH_MMP2_DT too.
Note: CONFIG_CPU_MMP2 is only used for machines that use board files
instead of DT. It should perhaps be renamed. I'm not doing it now, because
I don't have a better idea.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Cc: stable@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-12-21 14:13:05 +01:00
..
2018-12-17 09:28:50 +01:00
2018-02-25 11:07:51 +01:00
2018-11-21 09:24:03 +01:00
2018-04-08 14:26:32 +02:00
2018-12-01 09:42:49 +01:00
2018-10-18 09:16:28 +02:00
2018-10-18 09:16:28 +02:00
2018-10-18 09:16:27 +02:00
2018-10-18 09:16:28 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-12 10:45:10 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-28 11:06:12 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-24 13:09:07 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-26 08:38:02 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-26 08:38:10 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-21 04:02:59 +09:00
2017-11-02 11:10:55 +01:00
2017-05-24 09:44:32 +05:30
2017-07-31 13:31:48 +02:00
2017-06-09 11:15:36 -07:00
2018-12-21 14:13:05 +01:00
2017-06-12 10:45:10 +02:00
2017-11-02 11:10:55 +01:00
2018-10-03 17:00:52 -07:00
2017-04-10 21:25:50 +08:00
2018-12-17 09:28:48 +01:00
2018-12-17 09:28:47 +01:00
2018-05-30 07:52:05 +02:00
2017-03-20 10:13:45 +01:00
2017-11-02 11:10:55 +01:00
2018-08-24 13:09:13 +02:00
2017-02-28 11:06:10 +00:00
2018-09-15 09:45:33 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-28 11:50:53 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-28 11:06:10 +00:00
2017-06-18 20:10:27 -07:00
2017-06-14 11:59:16 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-21 09:24:09 +01:00
2018-08-03 07:50:24 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:52:01 +02:00
2018-03-08 22:41:22 -08:00
2017-07-20 07:17:43 +02:00
2017-11-02 11:10:55 +01:00
2018-12-13 09:18:52 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-10-18 09:16:28 +02:00
2017-10-26 16:58:17 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-01 09:42:48 +01:00