Grant Likely 4fb4c55824 [POWERPC] mpc52xx_psc_spi device driver must not touch port_config and cdm
It is dangerous for an mpc52xx device driver to modify the port_config
register.  If the driver is probed incorrectly, it will change the pin
IO configuration in ways which may not be compatible with the board.
port_config should be set up by the bootloader, or failing that, in
the platform setup code in arch/powerpc/platforms/52xx.

Also, modifying CDM registers directly can cause a race condition with
other drivers.  Instead call a common routine to modify CDM settings.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Dragos Carp <dragos.carp@toptica.com>
2008-01-26 15:32:19 -07:00
..
2007-12-10 19:43:55 -08:00
2007-02-14 08:09:53 -08:00
2007-07-17 10:23:05 -07:00
2007-10-16 09:43:09 -07:00
2007-05-08 11:15:15 -07:00
2007-12-10 19:43:55 -08:00
2007-10-16 09:43:10 -07:00
2007-10-29 07:41:33 -07:00
2007-08-31 01:42:22 -07:00