]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: renesas: Fix register usage in sh_pfc_{read,write}
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:13:42 +0000 (06:13 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:15:55 +0000 (06:15 +0200)
commit5af654197263dfac08e17d24e477e27c6990df72
tree9d7c2ce6b68b929c443e3d3f2b86be536c41c07e
parent378b29cbc6607ad8246b1381bc74ec62bdb19105
pinctrl: renesas: Fix register usage in sh_pfc_{read,write}

The sh_pfc_{read,write}() must operate on the register address directly
rather than on an offset, fix this to prevent illegal access.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/pinctrl/renesas/pfc.c