[PATCH 04/10] fix-pcf50633-disable-irq-from-suspend-until-resume.patch

Holger Freyther zecke at openmoko.org
Mon Jun 16 12:00:44 CEST 2008


On Monday 16 June 2008 00:17:27 Andy Green wrote:

> Lastly I noticed that in early resume, i2c_get_clientdata(&pcf->client)

interesting.


> +	/* sanity */
> +	if (!&pcf->client.dev)
> +		goto bail;
> +

> +	/* this is the case early in resume! Sanity check! */
> +	if (i2c_get_clientdata(&pcf->client) == NULL)
>  		goto reschedule;

Use i2c_get_clientdata in both cases? or is there a difference?


Okay, they suspend states look fine but I didn't verify it too closely.


z.




More information about the openmoko-kernel mailing list