disp: msm: dsi: add missing trusted vm check
Need to check trusted VM environment when loading DSI firmware. Add this missing check due to propagation issue. Change-Id: I7c84b487a58133df49ba23e80e6b6ff8783cdf6c Signed-off-by: Ray Zhang <rayz@codeaurora.org>
This commit is contained in:

committed by
Jeykumar Sankaran

vanhempi
1a11e07ee4
commit
b818229a2f
@@ -5780,7 +5780,9 @@ int dsi_display_dev_probe(struct platform_device *pdev)
|
||||
platform_set_drvdata(pdev, display);
|
||||
|
||||
/* initialize display in firmware callback */
|
||||
if (!boot_disp->boot_disp_en && IS_ENABLED(CONFIG_DSI_PARSER)) {
|
||||
if (!boot_disp->boot_disp_en &&
|
||||
IS_ENABLED(CONFIG_DSI_PARSER) &&
|
||||
!display->trusted_vm_env) {
|
||||
firm_req = !request_firmware_nowait(
|
||||
THIS_MODULE, 1, "dsi_prop",
|
||||
&pdev->dev, GFP_KERNEL, display,
|
||||
|
Viittaa uudesa ongelmassa
Block a user