On Wed, May 04, 2016 at 10:04:40PM +0200, Rafael J. Wysocki wrote: > > + mutex_lock(&priv->acpi_lock); > > + if (priv->acpi_reserved) { > > + mutex_unlock(&priv->acpi_lock); > > + return -EPERM; > > I'd return -EIO from here as that's what it looks like from the caller's perspective. I can change that in v3 as I need to add reported-by and bugzilla links, which I forgot, to the patch as well. > That's not a big deal, though, so > > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html