greybus: firmware: remove skip-disconnected flag
Remove the legacy protocol flag that was used to suppress sending the control disconnected operation. Instead rely on the fact that no control operations will be sent by core to an interface that has been removed (e.g. after having received a new hotplug event after the bootrom has jumped to the new image). Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
02a54dd18f
commit
3e1b8c753d
@ -285,6 +285,5 @@ static struct gb_protocol firmware_protocol = {
|
||||
.connection_init = gb_firmware_connection_init,
|
||||
.connection_exit = gb_firmware_connection_exit,
|
||||
.request_recv = gb_firmware_request_recv,
|
||||
.flags = GB_PROTOCOL_SKIP_CONTROL_DISCONNECTED,
|
||||
};
|
||||
gb_builtin_protocol_driver(firmware_protocol);
|
||||
|
Loading…
x
Reference in New Issue
Block a user