Hi Loic, > > >> > > >> that is weird since we should be either in a probe context or in hdev->open context and both can sleep as far as I know. > > Yes but this is an explicit warning in gpiolib based on gpio controller capabilities, > not on current context (WARN_ON(desc->gdev->chip->can_sleep)). > > So, since we are always in process/thread context here, it seems safe to use the _cansleep version. can someone whip up a patch for it and quickly test it. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html