aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-msm/smd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index 64d12323995e..78031c0a6db3 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -204,7 +204,10 @@ static void smd_channel_probe_worker(struct work_struct *work)
204 unsigned n; 204 unsigned n;
205 205
206 shared = smem_find(ID_CH_ALLOC_TBL, sizeof(*shared) * 64); 206 shared = smem_find(ID_CH_ALLOC_TBL, sizeof(*shared) * 64);
207 207 if (!shared) {
208 pr_err("smd: cannot find allocation table\n");
209 return;
210 }
208 for (n = 0; n < 64; n++) { 211 for (n = 0; n < 64; n++) {
209 if (smd_ch_allocated[n]) 212 if (smd_ch_allocated[n])
210 continue; 213 continue;