|
@@ -1536,9 +1536,14 @@ static int tv_is_present_in_vbt(struct drm_device *dev)
|
|
/*
|
|
/*
|
|
* If the device type is not TV, continue.
|
|
* If the device type is not TV, continue.
|
|
*/
|
|
*/
|
|
- if (p_child->old.device_type != DEVICE_TYPE_INT_TV &&
|
|
|
|
- p_child->old.device_type != DEVICE_TYPE_TV)
|
|
|
|
|
|
+ switch (p_child->old.device_type) {
|
|
|
|
+ case DEVICE_TYPE_INT_TV:
|
|
|
|
+ case DEVICE_TYPE_TV:
|
|
|
|
+ case DEVICE_TYPE_TV_SVIDEO_COMPOSITE:
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
continue;
|
|
continue;
|
|
|
|
+ }
|
|
/* Only when the addin_offset is non-zero, it is regarded
|
|
/* Only when the addin_offset is non-zero, it is regarded
|
|
* as present.
|
|
* as present.
|
|
*/
|
|
*/
|