|
@@ -381,6 +381,10 @@ struct msm_kms *mdp4_kms_init(struct drm_device *dev)
|
|
if (IS_ERR(mdp4_kms->dsi_pll_vddio))
|
|
if (IS_ERR(mdp4_kms->dsi_pll_vddio))
|
|
mdp4_kms->dsi_pll_vddio = NULL;
|
|
mdp4_kms->dsi_pll_vddio = NULL;
|
|
|
|
|
|
|
|
+ /* NOTE: driver for this regulator still missing upstream.. use
|
|
|
|
+ * _get_exclusive() and ignore the error if it does not exist
|
|
|
|
+ * (and hope that the bootloader left it on for us)
|
|
|
|
+ */
|
|
mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd");
|
|
mdp4_kms->vdd = devm_regulator_get_exclusive(&pdev->dev, "vdd");
|
|
if (IS_ERR(mdp4_kms->vdd))
|
|
if (IS_ERR(mdp4_kms->vdd))
|
|
mdp4_kms->vdd = NULL;
|
|
mdp4_kms->vdd = NULL;
|