summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorSandeep Panda <spanda@codeaurora.org>2016-04-28 09:38:58 +0530
committerHarsh Sahu <hsahu@codeaurora.org>2016-11-11 12:12:18 -0800
commitd0a0f241442f97d3f3940d805406cf0adf94d725 (patch)
treee53e4ecd3a3ed0c6155068e9ed638ba3d3f11ad0 /lib/mpi/mpicoder.c
parent8f0b8a126c3f92368078954700779c8ab4c05b39 (diff)
msm: mdss: fix NULL pointer dereferencing in DBA driver
In DBA driver, after complete raw EDID data is parsed, the start address to audio block in EDID and its size is stored in corresponding bridge chip local variable, using a API implemented by the bridge chip driver. If the bridge chip driver does not implement the API to set audio block, then it will lead to crash if DBA driver tries to use the API. So fix the issue by checking for NULL pointer before calling the concerned API. Change-Id: Ia65e7a6dccadbd3fa4a8a8e779ff1f08bf34b5af Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions