[PATCH] pcf50633 IRQ handler

Michael Trimarchi trimarchi at gandalf.sssup.it
Wed Jan 14 10:05:44 CET 2009


Hi,

> diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
> index f668b9a..a565542 100644
> --- a/drivers/mfd/pcf50633-core.c
> +++ b/drivers/mfd/pcf50633-core.c
> @@ -428,6 +428,10 @@ static int pcf50633_suspend(struct device *dev, pm_message_t state)
>  	/* Make sure that an IRQ worker has quit */
>  	cancel_work_sync(&pcf->irq_work);
>  
> +	/* Disable irq again, because it could be re-enabled by the exiting
> +	 * worker we synced above */
> +	disable_irq(pcf->irq);
> +
>  	/* Save the masks */
>  	ret = pcf50633_read_block(pcf, PCF50633_REG_INT1M,
>  				ARRAY_SIZE(pcf->suspend_irq_masks),
>
>   
Sorry but I reverified the problem with me and your patch. I must 
activate the console on the serial
during suspend and check what happened :(. I will do it.

Michael




More information about the openmoko-kernel mailing list