Messages in this thread | | | Date | Sun, 4 Jan 2009 12:19:09 +0000 | From | Alan Cox <> | Subject | Re: [PATCH] Winchiphead 340/1: full baud rate and status/control line support |
| |
> | > | This could race another set_handshake ? I'm not sure it matters and I'd > | suggest that stuff gets fixed after this is submitted separately > > What's the easiest way to fix this?
It can sleep so probably all the cases where handshake lines are updated need to use a mutex to protect them. That will depend if any occur in the IRQ paths in which case it gets a lot trickier.
| |