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

This commit is contained in:
qctecmdr 2024-03-13 22:19:26 -07:00 • committed by Gerrit - the friendly Code Review server
commit c5745130f9

View file

@ -379,6 +379,9 @@ int qcom_llcc_probe(struct platform_device *pdev,
struct platform_device *llcc_edac, *llcc_perfmon;
struct device_node *tcm_memory_node;
if (!IS_ERR(drv_data))
return -EBUSY;
drv_data = devm_kzalloc(dev, sizeof(*drv_data), GFP_KERNEL);
if (!drv_data) {
ret = -ENOMEM;