commit | 3d7b1d1bc4474d2a85dc8d1a8001258dce56806a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Fri Jul 21 23:24:32 2017 +0200 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Fri Sep 22 23:23:23 2017 +0900 |
tree | 98f43b6790decddd548f3672b56472aaa15465cd | |
parent | e884656c2c0b2406b9bf99ea76f5a8c75128a331 [diff] |
mmc: uniphier-sd: Factor out register IO This patch prepares the driver to support controller(s) with registers at locations shifted by constant. Pull out the readl()/writel() from the driver into separate functions, where the adjustment of the register offset can be easily contained. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Jaehoon Chung <jh80.chung@samsung.com>