Unverified Commit 2cf7342e authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!8339 soc: qcom: llcc: Handle a second device without data corruption

parents ec4a677d 8a94df90
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -413,6 +413,9 @@ static int qcom_llcc_probe(struct platform_device *pdev)
	const struct llcc_slice_config *llcc_cfg;
	u32 sz;

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

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