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

Commit 0260a258 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: initialize waitqueue before devm_request_irq"

parents 691e33a0 2d85f9a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1464,6 +1464,8 @@ static int tmc_etr_byte_cntr_init(struct platform_device *pdev,
		goto out;
	}

	init_waitqueue_head(&drvdata->wq);

	drvdata->byte_cntr_irq = platform_get_irq_byname(pdev,
							"byte-cntr-irq");
	if (drvdata->byte_cntr_irq < 0) {
@@ -1483,7 +1485,6 @@ static int tmc_etr_byte_cntr_init(struct platform_device *pdev,
		goto err;
	}

	init_waitqueue_head(&drvdata->wq);
	node_size += strlen(node_name);

	drvdata->byte_cntr_node = devm_kzalloc(&pdev->dev,