mfd: qcom-i2c-pmic: prepare for shared interrupt
The interrupt coming to smb1381 and other i2c pmic's could be shared with direct charge chip. Update the code to reflect that. CRs-Fixed: 1059549 Change-Id: I4d12ff4d1d87aa984f601760b26b3413484f501a Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
parent
79c88a3bdb
commit
2f25819b0c
1 changed files with 2 additions and 1 deletions
|
@ -543,7 +543,8 @@ static int i2c_pmic_probe(struct i2c_client *client,
|
|||
}
|
||||
|
||||
rc = devm_request_threaded_irq(&client->dev, client->irq, NULL,
|
||||
i2c_pmic_irq_handler, IRQF_ONESHOT,
|
||||
i2c_pmic_irq_handler,
|
||||
IRQF_ONESHOT | IRQF_SHARED,
|
||||
"i2c_pmic_stat_irq", chip);
|
||||
if (rc < 0) {
|
||||
pr_err("Couldn't request irq %d rc=%d\n", client->irq, rc);
|
||||
|
|
Loading…
Add table
Reference in a new issue