File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
drivers/gpu/drm/bridge/analogix Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 3636
3737static const bool verify_fast_training ;
3838
39- static bool enable_psr = true;
40- module_param (enable_psr , bool , 0644 );
41- MODULE_PARM_DESC (enable_psr , "PSR support (1 = enabled (default), 0 = disabled)" );
42-
43- struct bridge_init {
44- struct i2c_client * client ;
45- struct device_node * node ;
46- };
47-
48- static int analogix_dp_init_dp (struct analogix_dp_device * dp )
39+ static void analogix_dp_init_dp (struct analogix_dp_device * dp )
4940{
5041 analogix_dp_reset (dp );
5142
@@ -885,7 +876,7 @@ static int analogix_dp_commit(struct analogix_dp_device *dp)
885876 if (ret )
886877 return ret ;
887878
888- if (enable_psr && analogix_dp_detect_sink_psr (dp )) {
879+ if (analogix_dp_detect_sink_psr (dp )) {
889880 ret = analogix_dp_enable_sink_psr (dp );
890881 if (ret )
891882 return ret ;
You can’t perform that action at this time.
0 commit comments