Skip to contentSkip to conversation

p54spi: Fix workqueue deadlock

PATCH Christian Lamparter 2 participants 3 messages Nov 16, 2011 – Nov 17, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20111116235546.096975f6@milhouse

#2 lore raw

Christian, Michael,

I'm not sure these patches made it to the list.

Thanks,

Julian Calaby

Quoted 15 lines · Christian Lamparter
Quoted 7 lines · Michael Büsch

priv->work must not be synced while priv->mutex is locked, because the mutex is taken in the work handler.
Move cancel_work_sync down to after the device shutdown code. This is safe, because the work handler checks fw_state and bails out early in case of a race.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#3 lore raw
Quoted 5 lines · Julian Calaby

Christian, Michael,

I'm not sure these patches made it to the list.

Thanks,

You are right, but I don't know why? Michael can you please resend the patch?

Regards,
Chr

Quoted 12 lines
Quoted 10 lines · Christian Lamparter
Quoted 7 lines · Michael Büsch

priv->work must not be synced while priv->mutex is locked, because the mutex is taken in the work handler.
Move cancel_work_sync down to after the device shutdown code. This is safe, because the work handler checks fw_state and bails out early in case of a race.