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

Commit 061c1c03 authored by Jayant Shekhar's avatar Jayant Shekhar
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>
parent eddc683b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1488,6 +1488,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
@@ -1797,6 +1797,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
@@ -4637,6 +4637,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
@@ -169,6 +169,7 @@ static struct platform_driver dsi_driver = {
	.driver = {
		.name = "msm_dsi",
		.of_match_table = dt_match,
		.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