Files
linux/drivers/spi
Herton Ronaldo Krzesinski 81e80587f3 spi/spi-fsl-spi: reference correct pdata in fsl_spi_cs_control
commit 067aa4815a upstream.

Commit 178db7d3, "spi: Fix device unregistration when unregistering
the bus master", changed spi device initialization of dev.parent pointer
to be the master's device pointer instead of his parent.

This introduced a bug in spi-fsl-spi, since its usage of spi device
pointer was not updated accordingly. This was later fixed by commit
5039a86, "spi/mpc83xx: fix NULL pdata dereference bug", but it missed
another spot on fsl_spi_cs_control function where we also need to update
usage of spi device pointer. This change address that.

Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Acked-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Alfredo Capella <alfredo.capella@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-02 09:47:54 -07:00
..
2011-05-18 23:24:50 +02:00
2011-03-31 11:26:23 -03:00
2011-05-24 15:17:22 +10:00
2011-05-20 00:43:00 -06:00
2011-05-20 00:43:00 -06:00
2011-03-31 11:26:23 -03:00
2011-02-22 14:59:53 -07:00
2011-03-31 11:26:23 -03:00
2011-02-03 09:55:43 -07:00
2011-03-15 08:17:22 -07:00