[RFC] Fix stuck on cpm-i2c driver

Jochen Friedrich jochen at scram.de
Sun Jun 21 00:40:51 EST 2009


Hi Michael,

> This happen because though the wait_event_interruptible_timeout takes the
> signals into account, the driver does not handle them.
> We propose to change the wait_event_interruptible_timeout with
> wait_event_timeout, leaving the signals to be handled in other points
> on the upper layers.

Makes sense. I2C transactions better shouldn't be interrupted or
data loss might happen.

> Signed-off-by: Bruno Morelli <bruno at evidence.eu.com>
> Signed-off-by: Michael Trimarchi <michael at evidence.eu.com>

Acked-by: Jochen Friedrich <jochen at scram.de>

Thanks,
Jochen


More information about the Linuxppc-dev mailing list