Brent Taylor 93c77d2999 mmc: atmel-mci: Check pdata for NULL before dereferencing it at DMA config
Using an at91sam9g20ek development board with DTS configuration may trigger
a kernel panic because of a NULL pointer dereference exception, while
configuring DMA. Let's fix this by adding a check for pdata before
dereferencing it.

Signed-off-by: Brent Taylor <motobud@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-03-17 14:54:41 +01:00
..
2016-02-29 11:03:11 +01:00
2016-02-29 11:03:09 +01:00
2016-03-17 14:54:35 +01:00
2016-02-29 11:02:46 +01:00
2014-09-24 10:13:09 +02:00
2015-06-01 09:06:48 +02:00
2015-01-19 09:56:07 +01:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00