Commit f502022c authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno
Browse files

msm: mdss: fix null dereference when using hardware cursor



Null dereference kernel panic is seen when using hardware cursor because
buffer for cursor is not allocated before using hardware cursor API.
Allocate buffer once when API is first called to ensure buffer is
available to hold cursor image.

Change-Id: I2250c4dd93e54fa4e7122c2465fbaf1deef0fa1e
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent 904961d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment