]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: omap2-mcspi: Fix modifying platform resource data
authorVikram N <vicky773@gmail.com>
Fri, 30 Sep 2016 14:23:11 +0000 (19:53 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Oct 2016 11:09:51 +0000 (12:09 +0100)
commitaf9e53fef7015e1e4fe3f32b35e839df392bf4d6
treeee1f67da8055aff5daabca561cf4b1612da4415e
parent1001354ca34179f3db924eb66672442a173147dc
spi: omap2-mcspi: Fix modifying platform resource data

currently during probe the resource data gets modified and device
physical address remains valid only during first load. If the module is
unloaded and loaded again, the ioremp will be done on a incorrect address
as the resource was modified during previous module load.
This patch fixes this issue.

Signed-off-by: Vikram N <vicky773@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c