Re: [RFC] Fix stuck on cpm-i2c driver
From: Jochen Friedrich <jochen@scram.de>
Date: 2009-06-20 17:01:10
Also in:
linux-i2c
From: Jochen Friedrich <jochen@scram.de>
Date: 2009-06-20 17:01:10
Also in:
linux-i2c
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 <redacted> Signed-off-by: Michael Trimarchi <redacted>
Acked-by: Jochen Friedrich <jochen@scram.de> Thanks, Jochen