diff options
| author | Laura Abbott <[email protected]> | 2016-10-28 16:59:38 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2016-10-28 18:03:47 +0000 |
| commit | 06b113e9f28f8657715919087a3f54b77d1634ed (patch) | |
| tree | f4b3a519151f8e668c9e3c12abd3c2715c909b30 /drivers/fpga/altera-fpga2sdram.c | |
| parent | clk/samsung: Use CLK_OF_DECLARE_DRIVER initialization method for CLKOUT (diff) | |
| download | kernel-06b113e9f28f8657715919087a3f54b77d1634ed.tar.gz kernel-06b113e9f28f8657715919087a3f54b77d1634ed.zip | |
clk: xgene: Don't call __pa on ioremaped address
ioremaped addresses are not linearly mapped so the physical
address can not be figured out via __pa. More generally, there
is no guarantee that backing value of an ioremapped address
is a physical address at all. The value here is only used
for debugging so just drop the call to __pa on the ioremapped
address.
Fixes: 6ae5fd381251 ("clk: xgene: Silence sparse warnings")
Signed-off-by: Laura Abbott <[email protected]>
Acked-by: Loc Ho <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
