fbdev: msm: Avoid reserve of mixers for single layer mixer

Avoid reserving mixer for target having only one layer mixer.
Check for nunber of active layer mixer's present and avoid
allocating mixers to external or pluggable display if active
layer mixers are more than one.

Change-Id: I1ff7cff03808b65bb2e5ae6bdc897f48c6b1d5cd
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
diff --git a/drivers/video/fbdev/msm/mdss_mdp_ctl.c b/drivers/video/fbdev/msm/mdss_mdp_ctl.c
index 4cfb48d..0b6195d 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_ctl.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_ctl.c
@@ -2559,7 +2559,7 @@
 			mixer_pool += ctl->mdata->ndspp;
 			nmixers -= ctl->mdata->ndspp;
 		} else if ((ctl->panel_data->panel_info.is_pluggable) &&
-				nmixers_active) {
+				nmixers_active > 1) {
 			mixer_pool += ctl->mdata->ndspp;
 			nmixers -= ctl->mdata->ndspp;
 		}