spi/omap2_mcspi: Check params before dereference or use
authorScott Ellis <scott@jumpnowtek.com>
Mon, 24 May 2010 14:20:27 +0000 (14:20 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 25 May 2010 06:23:15 +0000 (00:23 -0600)
Check spi->chip_select for range before use.

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/omap2_mcspi.c

Simple merge