File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ static int __maybe_unused ti_sn65dsi86_resume(struct device *dev)
363
363
/* td2: min 100 us after regulators before enabling the GPIO */
364
364
usleep_range (100 , 110 );
365
365
366
- gpiod_set_value (pdata -> enable_gpio , 1 );
366
+ gpiod_set_value_cansleep (pdata -> enable_gpio , 1 );
367
367
368
368
/*
369
369
* If we have a reference clock we can enable communication w/ the
@@ -386,7 +386,7 @@ static int __maybe_unused ti_sn65dsi86_suspend(struct device *dev)
386
386
if (pdata -> refclk )
387
387
ti_sn65dsi86_disable_comms (pdata );
388
388
389
- gpiod_set_value (pdata -> enable_gpio , 0 );
389
+ gpiod_set_value_cansleep (pdata -> enable_gpio , 0 );
390
390
391
391
ret = regulator_bulk_disable (SN_REGULATOR_SUPPLY_NUM , pdata -> supplies );
392
392
if (ret )
You can’t perform that action at this time.
0 commit comments