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

Commit c5745130 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: llcc: Handle a second device without data corruption"

parents edd54a32 7ba19e77
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -379,6 +379,9 @@ int qcom_llcc_probe(struct platform_device *pdev,
	struct platform_device *llcc_edac, *llcc_perfmon;
	struct platform_device *llcc_edac, *llcc_perfmon;
	struct device_node *tcm_memory_node;
	struct device_node *tcm_memory_node;


	if (!IS_ERR(drv_data))
		return -EBUSY;

	drv_data = devm_kzalloc(dev, sizeof(*drv_data), GFP_KERNEL);
	drv_data = devm_kzalloc(dev, sizeof(*drv_data), GFP_KERNEL);
	if (!drv_data) {
	if (!drv_data) {
		ret = -ENOMEM;
		ret = -ENOMEM;