diff --git a/drivers/spi/spi-sc18is602.c b/drivers/spi/spi-sc18is602.c index 5666b5d20b87..f63714ffb62f 100644 --- a/drivers/spi/spi-sc18is602.c +++ b/drivers/spi/spi-sc18is602.c @@ -264,7 +264,7 @@ static int sc18is602_probe(struct i2c_client *client, hw->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); if (IS_ERR(hw->reset)) return PTR_ERR(hw->reset); - gpiod_set_value(hw->reset, 0); + gpiod_set_value_cansleep(hw->reset, 0); hw->master = master; hw->client = client;