@@ -1935,7 +1935,7 @@ static u8 drm_dp_calculate_rad(struct drm_dp_mst_port *port,
1935
1935
return parent_lct + 1 ;
1936
1936
}
1937
1937
1938
- static bool drm_dp_mst_is_dp_mst_end_device (u8 pdt , bool mcs )
1938
+ static bool drm_dp_mst_is_end_device (u8 pdt , bool mcs )
1939
1939
{
1940
1940
switch (pdt ) {
1941
1941
case DP_PEER_DEVICE_DP_LEGACY_CONV :
@@ -1965,13 +1965,13 @@ drm_dp_port_set_pdt(struct drm_dp_mst_port *port, u8 new_pdt,
1965
1965
1966
1966
/* Teardown the old pdt, if there is one */
1967
1967
if (port -> pdt != DP_PEER_DEVICE_NONE ) {
1968
- if (drm_dp_mst_is_dp_mst_end_device (port -> pdt , port -> mcs )) {
1968
+ if (drm_dp_mst_is_end_device (port -> pdt , port -> mcs )) {
1969
1969
/*
1970
1970
* If the new PDT would also have an i2c bus,
1971
1971
* don't bother with reregistering it
1972
1972
*/
1973
1973
if (new_pdt != DP_PEER_DEVICE_NONE &&
1974
- drm_dp_mst_is_dp_mst_end_device (new_pdt , new_mcs )) {
1974
+ drm_dp_mst_is_end_device (new_pdt , new_mcs )) {
1975
1975
port -> pdt = new_pdt ;
1976
1976
port -> mcs = new_mcs ;
1977
1977
return 0 ;
@@ -1991,7 +1991,7 @@ drm_dp_port_set_pdt(struct drm_dp_mst_port *port, u8 new_pdt,
1991
1991
port -> mcs = new_mcs ;
1992
1992
1993
1993
if (port -> pdt != DP_PEER_DEVICE_NONE ) {
1994
- if (drm_dp_mst_is_dp_mst_end_device (port -> pdt , port -> mcs )) {
1994
+ if (drm_dp_mst_is_end_device (port -> pdt , port -> mcs )) {
1995
1995
/* add i2c over sideband */
1996
1996
ret = drm_dp_mst_register_i2c_bus (& port -> aux );
1997
1997
} else {
@@ -2172,7 +2172,7 @@ drm_dp_mst_port_add_connector(struct drm_dp_mst_branch *mstb,
2172
2172
}
2173
2173
2174
2174
if (port -> pdt != DP_PEER_DEVICE_NONE &&
2175
- drm_dp_mst_is_dp_mst_end_device (port -> pdt , port -> mcs )) {
2175
+ drm_dp_mst_is_end_device (port -> pdt , port -> mcs )) {
2176
2176
port -> cached_edid = drm_get_edid (port -> connector ,
2177
2177
& port -> aux .ddc );
2178
2178
drm_connector_set_tile_property (port -> connector );
0 commit comments