disp: msm: dsi: add check for DSI resources during display probe
The change adds a check for DSI controller and PHY resources during the DSI display probe. The validation now only checks for the availabilty of the resources without increasing the refcount of the controller or PHY till an exact match is found after the device tree is parsed. Change-Id: I96a5022a8ab5f55271e0df36675037b597e1ec85 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Esse commit está contido em:
@@ -106,6 +106,16 @@ struct msm_dsi_phy {
|
||||
bool dfps_trigger_mdpintf_flush;
|
||||
};
|
||||
|
||||
/**
|
||||
* dsi_phy_check_resource() - check if DSI PHY is probed
|
||||
* @of_node: of_node of the DSI PHY.
|
||||
*
|
||||
* Checks if the DSI PHY has been probed and is available.
|
||||
*
|
||||
* Return: status of DSI PHY
|
||||
*/
|
||||
bool dsi_phy_check_resource(struct device_node *of_node);
|
||||
|
||||
/**
|
||||
* dsi_phy_get() - get a dsi phy handle from device node
|
||||
* @of_node: device node for dsi phy controller
|
||||
|
Referência em uma nova issue
Block a user