greybus: interface: fix broken UniPro flow control
A recent commit inadvertently disabled E2EFC on all interface connections, due to a failure to clear the ES3 bootrom quirk flags during mode switch. Testing Done: Verified that the CPort flags are again set to 0x7 for non-bootrom interface connections. Fixes: 5b638080e94e ("svc: keep interfaces registered during mode switch") Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
9e04fb7b16
commit
6ddbed5766
|
@ -226,6 +226,9 @@ static int gb_interface_read_and_clear_init_status(struct gb_interface *intf)
|
|||
intf->quirks |= GB_INTERFACE_QUIRK_NO_CPORT_FEATURES;
|
||||
intf->quirks |= GB_INTERFACE_QUIRK_NO_INTERFACE_VERSION;
|
||||
break;
|
||||
default:
|
||||
intf->quirks &= ~GB_INTERFACE_QUIRK_NO_CPORT_FEATURES;
|
||||
intf->quirks &= ~GB_INTERFACE_QUIRK_NO_INTERFACE_VERSION;
|
||||
}
|
||||
|
||||
/* Clear the init status. */
|
||||
|
|
Loading…
Reference in New Issue