diff options
author | Holger Brunck <holger.brunck@keymile.com> | 2011-06-20 16:31:57 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-05 17:59:17 (GMT) |
commit | fb6440955fcc5d175397fd0e9a00c6967cb26a74 (patch) | |
tree | a5100e437776f5c20e8d9eedb67be5411c9dcdf4 /sound/ppc | |
parent | c25ded1fbc069265e4d26df45a93ace18780974f (diff) | |
download | linux-fsl-qoriq-fb6440955fcc5d175397fd0e9a00c6967cb26a74.tar.xz |
spi/fsl_spi: fix CPM spi driver
This patch fixes the freescale spi driver for CPM. Without this
patch SPI on CPM failed because cpm_muram_alloc_fixed tries to
allocate muram in an preserved area. The error reported was:
mpc8xxx_spi f0011a80.spi: can't allocate spi parameter ram
mpc8xxx_spi: probe of f0011a80.spi failed with error -12
Now the driver uses of_iomap to get access to this area
similar to i2c driver driver in the i2c-cpm.c which has a
similar device tree node. This is tested on a MPC8247 with CPM2.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions