mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
1b0d76cb9d
The locomo spi registers are all defined in locomo.h as offsets from the first spi register LOCOMO_SPI (0x60), which is itself an offset from the locomo base address. To correctly access these registers LOCOMO_SPI must always be included in the address calculation. There are two places in locomo.c where this is not done. The first one, in locomo_suspend, actually results in a write to LOCOMO_ST instead of LOCOMO_SPICT. The second is in __locomo_probe and results in a write to LOCOMO_MCSX2 instead of LOCOMO_SPIIE. Fix these by including LOCOMO_SPI in the calculation. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com> |
||
---|---|---|
.. | ||
clkdev.c | ||
dmabounce.c | ||
gic.c | ||
icst307.c | ||
icst525.c | ||
it8152.c | ||
Kconfig | ||
locomo.c | ||
Makefile | ||
sa1111.c | ||
scoop.c | ||
sharpsl_param.c | ||
time-acorn.c | ||
uengine.c | ||
via82c505.c | ||
vic.c |