Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git diff
- diff --git a/sound/soc/codecs/cs42l84.c b/sound/soc/codecs/cs42l84.c
- index e590a43559e4..2337ddf071d8 100644
- --- a/sound/soc/codecs/cs42l84.c
- +++ b/sound/soc/codecs/cs42l84.c
- @@ -842,6 +842,9 @@ static irqreturn_t cs42l84_irq_thread(int irq, void *data)
- irq_params_table[i].mask;
- }
- + mutex_unlock(&cs42l84->irq_lock);
- + return IRQ_HANDLED;
- +
- /* When handling plug sene IRQs, we only care about EITHER tip OR ring.
- * Ring is useless on remove, and is only useful on insert for
- * detecting if the plug state has changed AFTER we have handled the
- @@ -1058,10 +1061,10 @@ static int cs42l84_i2c_probe(struct i2c_client *i2c_client)
- "Cirrus Logic CS42L84, Revision: %02X\n", reg & 0xFF);
- /* Setup plug detection */
- - cs42l84_setup_plug_detect(cs42l84);
- + /* cs42l84_setup_plug_detect(cs42l84); */
- /* Mask ring sense interrupts */
- - cs42l84_set_interrupt_masks(cs42l84, CS42L84_RS_PLUG | CS42L84_RS_UNPLUG);
- + cs42l84_set_interrupt_masks(cs42l84, 0xffffffff);
- /* Register codec for machine driver */
- ret = devm_snd_soc_register_component(&i2c_client->dev,
Advertisement
Add Comment
Please, Sign In to add comment