diff options
author | Tai Kuo <taikuo@google.com> | 2022-04-06 18:20:24 +0800 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2022-04-18 07:33:02 +0000 |
commit | c3f6e596c4fd7dbd73b57be8a6e4ba179396fb35 (patch) | |
tree | b4126e656c48159ca5373c5fd64b444f6d991ac6 | |
parent | c96d7d1a3251f1b221e53df3f4e0be5ba3f1b16d (diff) | |
download | amplifiers-c3f6e596c4fd7dbd73b57be8a6e4ba179396fb35.tar.gz |
Revert "cs40l26: fix stuck vibe_state after continuous LOW_TICK"
This reverts commit e4de0484907fe0553a472fb98090844d41f19270.
Then we are able to apply the formal release (tag cs40l26-v5.0.0).
Bug: 228290494
Bug: 221059363
Test: n/a
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: If2563443fdf5a58b5429327593c12807baaa583b
-rw-r--r-- | cs40l26/cs40l26.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cs40l26/cs40l26.c b/cs40l26/cs40l26.c index 4afff12..af905d6 100644 --- a/cs40l26/cs40l26.c +++ b/cs40l26/cs40l26.c @@ -1058,8 +1058,9 @@ static int cs40l26_handle_irq1(struct cs40l26_private *cs40l26, dev_dbg(dev, "Virtual 1 MBOX write occurred\n"); break; case CS40L26_IRQ1_VIRTUAL2_MBOX_WR: - regmap_write(cs40l26->regmap, CS40L26_IRQ1_EINT_1, BIT(irq1)); - return cs40l26_handle_mbox_buffer(cs40l26); + ret = cs40l26_handle_mbox_buffer(cs40l26); + if (ret) + goto err; break; default: dev_err(dev, "Unrecognized IRQ1 EINT1 status\n"); |