[PATCH] Qtopia - enable suspend/resume to forcibly flow-control the GSM
Holger Freyther
zecke at openmoko.org
Thu Jun 12 11:07:26 CEST 2008
On Thursday 12 June 2008 06:47:02 Mike (mwester) wrote:
> The following patch enables Qtopia to forcibly flow-control the GSM
> as suspend, and release the flow-control upon resume. This eliminates
> some race conditions, and ensures that no GSM data will be lost during
> suspend and resume operations.
> git/devices/ficgta01/src/plugins/phonevendors/ficgta01/vendor_ficgta01.cpp.
>orig 2008-06-10 21:28:52.000000000 -0500 +++
> git/devices/ficgta01/src/plugins/phonevendors/ficgta01/vendor_ficgta01.cpp
> 2008-06-11 18:38:16.000000000 -0500 @@ -661,6 +661,15 @@
>
> void Ficgta01ModemService::sendSuspendDone()
> {
> +// set forced flow control
> + usleep(100000);
race? sleeping a random time? why do you need to sleep here?
z
More information about the openmoko-devel
mailing list