ARM: rmobile: Add missing IPSR18 bits to R8A7795 PFC
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 28 Aug 2017 12:13:11 +0000 (14:13 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 4 Sep 2017 22:51:39 +0000 (07:51 +0900)
commit0d0915bef756cb708c84462b8b2ade2606370167
tree4731f1cbb8a0d699737c6a4f62cfdc430d897b01
parent8212f56347e511ad2c9f5c0fcb611d142e4fb5bb
ARM: rmobile: Add missing IPSR18 bits to R8A7795 PFC

The IPSR18 register bits were missing from the R8A7795 ES2.0+ PFC
tables, which triggered a BUG() in sh_pfc driver. This is because
of an out-of-bounds access to the pinmux_gpios[] array in the PFC
tables, which was too short due to the missing IPSR18 bits.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/mach-rmobile/pfc-r8a7795.c