mmc: msm_sdcc: fix possible NULL pointer access

There is a possibility that "data" pointer may be accessed
in msmsdcc_irq() function when it's NULL. This change adds
the proper check to avoid NULL pointer dereference.

Change-Id: I95628cfb477d3e07436cffae84fa6baedc2e5905
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
1 file changed