p54spi: Fix workqueue deadlock
Christian Lamparter
Acked-byQuoted 7 lines · Michael Büsch
priv->workmust not be synced whilepriv->mutexis locked, because the mutex is taken in the work handler.
Movecancel_work_syncdown to after the device shutdown code. This is safe, because the work handler checksfw_stateand bails out early in case of a race.Signed-off-by Michael Buesch <[email protected]>
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->workmust not be synced whilepriv->mutexis locked, because the mutex is taken in the work handler.
Movecancel_work_syncdown to after the device shutdown code. This is safe, because the work handler checksfw_stateand bails out early in case of a race.Signed-off-by Michael Buesch <[email protected]>Cc <[email protected]>--
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/
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->workmust not be synced whilepriv->mutexis locked, because the mutex is taken in the work handler.
Movecancel_work_syncdown to after the device shutdown code. This is safe, because the work handler checksfw_stateand bails out early in case of a race.Signed-off-by Michael Buesch <[email protected]>Cc <[email protected]>