Loading
msm: mdss: Initialize pan_name array to 0 and handle error case
Initialize the pan_name array to 0 before trying to copy
data from mdss_mdp_panel array to prevent junk values
being wrongly parsed by strnstr function and return error
when panel name is '0', this would let us read the primary
panel interface from device tree.
CRs-Fixed: 1018618
Change-Id: Ibfea17610fe2be4ebf3588047d4eb1c7f0042096
Signed-off-by:
Shalini Krishnamoorthi <shakri@codeaurora.org>