With the case added for eDP on port A (always connected from this
function's point of view), we should not be hitting any of the default
cases in ibx_digital_port_connected, so add MISSING_CASE annotation.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
if (HAS_PCH_IBX(dev_priv->dev)) {
switch (port->port) {
+ case PORT_A:
+ return true;
case PORT_B:
bit = SDE_PORTB_HOTPLUG;
break;
bit = SDE_PORTD_HOTPLUG;
break;
default:
- return true;
+ MISSING_CASE(port->port);
+ return false;
}
} else {
switch (port->port) {
+ case PORT_A:
+ return true;
case PORT_B:
bit = SDE_PORTB_HOTPLUG_CPT;
break;
bit = SDE_PORTD_HOTPLUG_CPT;
break;
default:
- return true;
+ MISSING_CASE(port->port);
+ return false;
}
}