amba_pl022 spi->mode fix/cleanup patches
linus.ml.walleij at gmail.com
Mon Sep 13 11:19:31 EDT 2010
2010/9/10 <wellsk40 at gmail.com>:
> This patch series updates drivers and platforms that depend on the
> amba_pl022 driver and use the pl022_config_chip structure for
> setting up the SPI mode and data transfer width.
I get regressions from the ab8500-spi.c driver from this patch:
> ssp-pl022 ssp0: ARM PL022 driver, device ID: 0x01080022
> pl022: mapped registers from 0x80002000 to d0834000
> ab8500-spi spi0.0: unknown chip, revision: 0x80
> ab8500-spi: probe of spi0.0 failed with error -22
The 0x80 above used to be 0x00 before these patches.
So all of a sudden bit 7 gets set...
I don't know why this happens, probably some flag that used to
be set had not been properly propagated in the first patch to alter
the AB8500 device registration?
More information about the linux-arm-kernel