On Thu, Jul 12, 2012 at 06:19:29PM +0200, walter harms wrote: > > if (ret != 0) { > > dev_err(arizona->dev, "Failed to read MICDET: %d\n", ret); > > + mutex_unlock(&info->lock); > > return IRQ_NONE; > normally you unlock before dev_err() and is the msg ok ? No, that's really unusual as it can make the trace much harder to follow if there's any contention.
Attachment:
signature.asc
Description: Digital signature