commit | 9320f7cbbdd5febf013b0e91db29189724057738 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Thu Sep 23 16:22:05 2010 +0200 |
committer | Chris Ball <cjb@laptop.org> | Sun Sep 26 16:27:05 2010 -0400 |
tree | 8ba7a24a1c7dfe696bfadf4035f39011eba8d49a | |
parent | 06fe577f841f383b2d4f743cfb74fac7f6468353 [diff] |
mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove If not all clocks have been defined in platform data, the driver will cause a null pointer dereference when it is removed. This patch fixes this issue. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Ball <cjb@laptop.org>