Lothar Waßmann 39ec0d3814 spi/imx: prevent NULL pointer dereference in spi_imx_probe()
When no platform_data is present and either 'spi-num-chipselects' is
not defined in the DT or 'cs-gpios' has less entries than
'spi-num-chipselects' specifies, the NULL platform_data pointer is
being dereferenced.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2012-04-10 22:17:15 -06:00
..
2012-03-27 16:03:32 -07:00
2011-11-09 23:02:12 +08:00
2011-10-24 14:14:40 +02:00
2011-06-06 01:16:30 -06:00
2011-09-21 09:41:48 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-03-07 19:18:49 -07:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2012-03-15 03:32:17 -06:00
2011-06-06 01:16:30 -06:00