mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
Merge "soc: qcom: llcc: Handle a second device without data corruption"
This commit is contained in:
commit
c5745130f9
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue