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>
这个提交包含在:
@@ -319,6 +319,16 @@ struct dsi_ctrl {
|
||||
u32 cmd_success_frame;
|
||||
};
|
||||
|
||||
/**
|
||||
* dsi_ctrl_check_resource() - check if DSI controller is probed
|
||||
* @of_node: of_node of the DSI controller.
|
||||
*
|
||||
* Checks if the DSI controller has been probed and is available.
|
||||
*
|
||||
* Return: status of DSI controller
|
||||
*/
|
||||
bool dsi_ctrl_check_resource(struct device_node *of_node);
|
||||
|
||||
/**
|
||||
* dsi_ctrl_get() - get a dsi_ctrl handle from an of_node
|
||||
* @of_node: of_node of the DSI controller.
|
||||
|
在新工单中引用
屏蔽一个用户