mmc: sdhci-s3c: fix potential NULL dereference
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2011 04:14:29 +0000 (13:14 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:22 +0000 (16:32 -0400)
commit326adda53a50ece492c3edaa60afc26fba5e3232
tree5ca2a03185d9e85a531585201c61fb2ede0100fe
parenta3c76eb9d4a1e68a69dd880cf0bcb8a52418b993
mmc: sdhci-s3c: fix potential NULL dereference

sc->clk_bus[ptr] could be NULL.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-s3c.c