[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090104121909.3e4de876@lxorguk.ukuu.org.uk>
Date: Sun, 4 Jan 2009 12:19:09 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Tollef Fog Heen <tfheen@....no>
Cc: linux-kernel@...r.kernel.org, werner@...nelius-consult.de,
frank@...gswood-consulting.co.uk
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists