Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bad01c2c authored by Narendra Muppalla's avatar Narendra Muppalla Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm: suppress display platform drivers bind/unbind feature



Display platform drivers does not support the manual bind/unbind
feature through sysfs. Suppress the bind/unbind calls using driver
attribute.

Change-Id: If583694c6bfe659e17e76a736f2fcfb52e6d1a01
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 4126e402
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1984,6 +1984,7 @@ static struct platform_driver dp_display_driver = {
	.driver = {
		.name = "msm-dp-display",
		.of_match_table = dp_dt_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -1776,6 +1776,7 @@ static struct platform_driver dsi_ctrl_driver = {
	.driver = {
		.name = "drm_dsi_ctrl",
		.of_match_table = msm_dsi_of_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -4515,6 +4515,7 @@ static struct platform_driver dsi_display_driver = {
	.driver = {
		.name = "msm-dsi-display",
		.of_match_table = dsi_display_dt_match,
		.suppress_bind_attrs = true,
	},
};

+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015, 2018 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -172,6 +172,7 @@ static struct platform_driver dsi_driver = {
		.name = "msm_dsi",
		.of_match_table = dt_match,
		.pm = &dsi_pm_ops,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ static struct platform_driver edp_driver = {
	.driver = {
		.name = "msm_edp",
		.of_match_table = dt_match,
		.suppress_bind_attrs = true,
	},
};

Loading