The comment leads me to believe there is a cut/paste error on masking of irq.

diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index 891f762..df63f2f 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -320,8 +320,8 @@ static void pcf50633_irq_worker(struct work_struct *work)
 						PCF50633_INT1_SECOND);
 
 		/* Unmask IRQ_ONKEYR */
-		pcf50633_reg_clear_bits(pcf, PCF50633_REG_INT1M,
-						PCF50633_INT1_SECOND);
+		pcf50633_reg_clear_bits(pcf, PCF50633_REG_INT2M,
+						PCF50633_INT2_ONKEYR);
 	}
 
 	if (pcf_int[1] & PCF50633_INT2_ONKEYR & pcf->onkey1s_held) {

Reply via email to