File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1802,6 +1802,7 @@ static inline void ti_sn_gpio_unregister(void) {}
1802
1802
1803
1803
static void ti_sn65dsi86_runtime_disable (void * data )
1804
1804
{
1805
+ pm_runtime_dont_use_autosuspend (data );
1805
1806
pm_runtime_disable (data );
1806
1807
}
1807
1808
@@ -1861,11 +1862,11 @@ static int ti_sn65dsi86_probe(struct i2c_client *client,
1861
1862
"failed to get reference clock\n" );
1862
1863
1863
1864
pm_runtime_enable (dev );
1865
+ pm_runtime_set_autosuspend_delay (pdata -> dev , 500 );
1866
+ pm_runtime_use_autosuspend (pdata -> dev );
1864
1867
ret = devm_add_action_or_reset (dev , ti_sn65dsi86_runtime_disable , dev );
1865
1868
if (ret )
1866
1869
return ret ;
1867
- pm_runtime_set_autosuspend_delay (pdata -> dev , 500 );
1868
- pm_runtime_use_autosuspend (pdata -> dev );
1869
1870
1870
1871
ti_sn65dsi86_debugfs_init (pdata );
1871
1872
You can’t perform that action at this time.
0 commit comments