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

Commit 1aae817b authored by Venu Raidu's avatar Venu Raidu Committed by vraidu
Browse files

msm: camera_v2: Remove sysfs bind/unbind files



This change disables dynamic bind/unbind capability
for CPP/JPEG/FD modules since it is not currently supported.

Change-Id: Ice692d7d700c3b7a75463b109265f958993031eb
Signed-off-by: default avatarVenu Raidu <vraidu@codeaurora.org>
parent 0d2bba96
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2019, 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
@@ -1476,6 +1476,7 @@ static struct platform_driver fd_driver = {
		.name = MSM_FD_DRV_NAME,
		.owner = THIS_MODULE,
		.of_match_table = msm_fd_dt_match,
		.suppress_bind_attrs = true,
	},
};

+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2019, 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
@@ -297,6 +297,7 @@ static struct platform_driver msm_jpeg_driver = {
		.name = "msm_jpeg",
		.owner = THIS_MODULE,
		.of_match_table = msm_jpeg_dt_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -1489,6 +1489,7 @@ static struct platform_driver jpegdma_driver = {
		.name = MSM_JPEGDMA_DRV_NAME,
		.owner = THIS_MODULE,
		.of_match_table = msm_jpegdma_dt_match,
		.suppress_bind_attrs = true,
	},
};

+1 −0
Original line number Diff line number Diff line
@@ -4805,6 +4805,7 @@ static struct platform_driver cpp_driver = {
		.name = MSM_CPP_DRV_NAME,
		.owner = THIS_MODULE,
		.of_match_table = msm_cpp_dt_match,
		.suppress_bind_attrs = true,
	},
};