Hi,
On Mon, Nov 07, 2011 at 09:18:36AM +, Michael Büsch wrote:
> > On Sat, Nov 05, 2011 at 05:19:54PM +0100, Michael Büsch wrote:
> > > tahvo_write_reg() needs to take the mutex to avoid a race
> > > condition with tahvo_set_clear_reg_bits:
> > >
> > > tahvo_set_clear_reg_bits(): | tahvo_w
On Mon, 7 Nov 2011 08:10:45 +0200
Felipe Balbi wrote:
> Hi,
>
> On Sat, Nov 05, 2011 at 05:19:54PM +0100, Michael Büsch wrote:
> > tahvo_write_reg() needs to take the mutex to avoid a race
> > condition with tahvo_set_clear_reg_bits:
> >
> > tahvo_set_clear_reg_bits(): | tahvo_write_reg():
>
Hi,
On Sat, Nov 05, 2011 at 05:19:54PM +0100, Michael Büsch wrote:
> tahvo_write_reg() needs to take the mutex to avoid a race
> condition with tahvo_set_clear_reg_bits:
>
> tahvo_set_clear_reg_bits(): | tahvo_write_reg():
> __tahvo_read_reg()|
> |
tahvo_write_reg() needs to take the mutex to avoid a race
condition with tahvo_set_clear_reg_bits:
tahvo_set_clear_reg_bits(): | tahvo_write_reg():
__tahvo_read_reg()|
| __tahvo_write_reg() <-- race here
__tahvo_write_reg() |
Signed-off-