commit | a965bba4fd8c53610ee8202cc22d8094c9595ecf | [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 | 76f99ca4089c5fab81277ef71c36d78f9f2fb2b0 [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>