Skip to content

Commit

Permalink
i2c_geni: set IRQF_NOBALANCING
Browse files Browse the repository at this point in the history
Reference:
kerneltoast/android_kernel_google_gs201@157d2f1

Test: confirmed i2c_geni irqs are not packed, and are naturally on
separate CPUs

Signed-off-by: Dakkshesh <[email protected]>
  • Loading branch information
RealJohnGalt authored and itsHanibee committed Jun 14, 2024
1 parent 4efe8e8 commit 9e0c2c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/i2c/busses/i2c-qcom-geni.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,8 @@ static int geni_i2c_probe(struct platform_device *pdev)
init_completion(&gi2c->xfer);
platform_set_drvdata(pdev, gi2c);
ret = devm_request_irq(gi2c->dev, gi2c->irq, geni_i2c_irq,
IRQF_TRIGGER_HIGH, "i2c_geni", gi2c);
IRQF_TRIGGER_HIGH | IRQF_NOBALANCING,
"i2c_geni", gi2c);
if (ret) {
dev_err(gi2c->dev, "Request_irq failed:%d: err:%d\n",
gi2c->irq, ret);
Expand Down

0 comments on commit 9e0c2c1

Please sign in to comment.