On Wed, Feb 24, 2016 at 2:31 PM, Axel Lin <axel.lin@xxxxxxxxxx> wrote: > This driver has .can_sleep flag set. > So the pisosr_gpio_get() can be called from contexts that can sleep. > Thus use the cansleep() variant in pisosr_gpio_refresh(). > > Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html